summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-28 00:37:34 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-28 00:37:34 +0000
commit9d1973b04ece097e75d84986c463141f89902128 (patch)
treec309c81f80185b5001ca31218f67c169bc3e6266
parent52ea4f45fc3a7465fc0c1bd6c5fead71497aac2c (diff)
downloadpfsense-9d1973b04ece097e75d84986c463141f89902128.zip
pfsense-9d1973b04ece097e75d84986c463141f89902128.tar.gz
Up the interface
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 991b683..cbdaba8 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -815,6 +815,8 @@ 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();
}
OpenPOWER on IntegriCloud