summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-29 00:08:29 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-29 00:08:29 +0000
commit5e99d81a691ede6a7345c4430ca427cd819e8872 (patch)
tree0eae5e778fb1e2a9785a50d1c1c6207579075b31 /etc/inc/interfaces.inc
parentc60fd7b8749db66072e24f5f31121a36c7e4006f (diff)
downloadpfsense-5e99d81a691ede6a7345c4430ca427cd819e8872.zip
pfsense-5e99d81a691ede6a7345c4430ca427cd819e8872.tar.gz
Bring the WAN interface up regardless.
Ticket #757
Diffstat (limited to 'etc/inc/interfaces.inc')
-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 cbdaba8..80e21b4 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -815,8 +815,6 @@ function interfaces_wan_configure() {
mwexec("/sbin/route delete default");
mwexec("/sbin/route add default " . escapeshellarg($config['interfaces']['wan']['gateway']));
- mwexec("/sbin/ifconfig {$wancfg['if']} up");
-
/* resync pf (done automatically for DHCP/PPPoE/PPTP) */
filter_configure();
}
@@ -878,6 +876,8 @@ function interfaces_wan_configure() {
services_dnsmasq_configure();
}
+ mwexec("/sbin/ifconfig {$wancfg['if']} up");
+
unmute_kernel_msgs();
return 0;
OpenPOWER on IntegriCloud