From 7284d8506c823de137fc05ed5fd14c268df07df5 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 26 Oct 2009 01:27:51 -0400 Subject: Revert interfaces_bring_up changes --- etc/inc/interfaces.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 023d8e3..fb7984c 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1694,7 +1694,7 @@ function interface_configure($interface = "wan", $reloadall = false) { file_put_contents("/tmp/{$realif}_router", $wancfg['gateway']); } if($wancfg['if']) - interfaces_bring_up(get_real_interface(get_real_interface($wancfg['if']))); + interfaces_bring_up($wancfg['if']); else log_error("Could not bring wancfg['if'] up -- variable not defined in interface_configure()"); @@ -1818,7 +1818,7 @@ EOD; /* bring wan interface up before starting dhclient */ if($realwanif) - interfaces_bring_up(get_real_interface($realwanif)); + interfaces_bring_up($realwanif); else log_error("Could not bring realwanif up in interface_dhcp_configure()"); @@ -1977,7 +1977,7 @@ EOD; /* Bring the parent interface up */ if($wancfg['if']) - interfaces_bring_up(get_real_interface($wancfg['if'])); + interfaces_bring_up($wancfg['if']); else log_error("Could not bring wancfg['if'] up in interface_pppoe_configure()"); -- cgit v1.1