diff options
-rw-r--r-- | etc/inc/interfaces.inc | 4 |
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; |