summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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