From 28d221995282061e3cecab8d0a9cd8333717aeba Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 15 Feb 2009 02:23:22 -0500 Subject: Remove this while loop now. It never ends and runs the cpu usage up to 100% forever. --- etc/inc/interfaces.inc | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'etc') diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index e131df0..652d527 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1265,20 +1265,11 @@ function interface_configure($interface = "wan") { $realif = get_real_interface($interface); - if (!$g['booting']) { + if (!$g['booting']) { /* remove all IPv4 addresses */ while (mwexec("/sbin/ifconfig " . escapeshellarg($realif) . " -alias", true) == 0); - interface_bring_down($interface); - - /* remove all IPv6 addresses */ - $str = <<