From 0d8fc8ec415ace48f7963b83224fc8ee186c9a48 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 10 Mar 2014 10:20:57 -0300 Subject: Fixes typo on variable name --- etc/inc/interfaces.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc') 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)) { -- cgit v1.1