From 9d1973b04ece097e75d84986c463141f89902128 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 28 Dec 2005 00:37:34 +0000 Subject: Up the interface --- etc/inc/interfaces.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc') 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(); } -- cgit v1.1