summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@G5.local>2009-10-26 01:27:51 -0400
committerScott Ullrich <sullrich@G5.local>2009-10-26 01:27:51 -0400
commit7284d8506c823de137fc05ed5fd14c268df07df5 (patch)
tree5bdac9a8e11379d9a523c781a7e1b8c428b34c30
parent2ebf39457d737bb6e901504a1318538a42b8c083 (diff)
downloadpfsense-7284d8506c823de137fc05ed5fd14c268df07df5.zip
pfsense-7284d8506c823de137fc05ed5fd14c268df07df5.tar.gz
Revert interfaces_bring_up changes
-rw-r--r--etc/inc/interfaces.inc6
1 files 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()");
OpenPOWER on IntegriCloud