summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-03-10 10:20:57 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-03-10 10:20:57 -0300
commit0d8fc8ec415ace48f7963b83224fc8ee186c9a48 (patch)
treec8bc63d9d8fab42646ef6fe6a4bdfa85f5a70cda /etc/inc
parent9aa6ad5c1669b044657b6c6808fae5174ff87460 (diff)
downloadpfsense-0d8fc8ec415ace48f7963b83224fc8ee186c9a48.zip
pfsense-0d8fc8ec415ace48f7963b83224fc8ee186c9a48.tar.gz
Fixes typo on variable name
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 2102121..3580c84 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2874,7 +2874,7 @@ function interface_configure($interface = "wan", $reloadall = false, $linkupeven
$tmpifaces = pfSense_getall_interface_addresses($realif);
if (is_array($tmpifaces)) {
foreach ($tmpifaces as $tmpiface) {
- if (strstr($iface, ":"))
+ if (strstr($tmpiface, ":"))
mwexec("/sbin/ifconfig " . escapeshellarg($realif) . " inet6 {$tmpiface} delete");
else {
if (is_subnetv4($tmpiface)) {
OpenPOWER on IntegriCloud