Up the interface

This commit is contained in:
Scott Ullrich 2005-12-28 00:37:34 +00:00
parent 52ea4f45fc
commit 9d1973b04e

View File

@ -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();
}