summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/interfaces.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 6849273..9f735e1 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2826,9 +2826,9 @@ function interface_configure($interface = "wan", $reloadall = false, $linkupeven
if (is_array($tmpifaces)) {
foreach ($tmpifaces as $tmpiface) {
if (strstr($iface, ":"))
- mwexec("/sbin/ifconfig " . escapeshellarg($realif) . " inet6 {$iface} delete");
+ mwexec("/sbin/ifconfig " . escapeshellarg($realif) . " inet6 {$tmpiface} delete");
else
- mwexec("/sbin/ifconfig " . escapeshellarg($realif) . " inet {$iface} delete");
+ pfSense_interface_deladdress($realif, $tmpiface);
}
}
OpenPOWER on IntegriCloud