summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-23 22:17:41 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-23 22:17:41 +0000
commit3c9daf997ad179f459be180daf621f0626bc35f1 (patch)
tree41ae4432ed59d8ef451493bd9f21590b72865c9c
parenta9a5cab2370e350d00647fad5dc38c1d224e1b56 (diff)
downloadpfsense-3c9daf997ad179f459be180daf621f0626bc35f1.zip
pfsense-3c9daf997ad179f459be180daf621f0626bc35f1.tar.gz
Sync after wan configuration
-rw-r--r--etc/inc/interfaces.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index d1c211e..bbbfe7c 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -487,6 +487,8 @@ function interfaces_wan_configure() {
mwexec($cmd);
}
+ filter_configure_sync();
+
switch ($wancfg['ipaddr']) {
case 'dhcp':
@@ -519,8 +521,8 @@ function interfaces_wan_configure() {
mwexec("/sbin/route delete default");
mwexec("/sbin/route add default " . escapeshellarg($config['system']['gateway']));
- /* resync ipfilter (done automatically for DHCP/PPPoE/PPTP) */
- filter_resync();
+ /* resync pf (done automatically for DHCP/PPPoE/PPTP) */
+ filter_configure();
}
if (!$g['booting']) {
OpenPOWER on IntegriCloud