diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-28 20:23:34 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-28 20:23:34 +0000 |
commit | b7e7d60e330f129bfa23a7d30aa1436b01170e03 (patch) | |
tree | 937559a770091f5c10abe86a4661055748fa78ea | |
parent | 1bd386255097bbeec21dd8c11adc1e0e6a053e72 (diff) | |
download | pfsense-b7e7d60e330f129bfa23a7d30aa1436b01170e03.zip pfsense-b7e7d60e330f129bfa23a7d30aa1436b01170e03.tar.gz |
Reload the filter even on bootup
-rw-r--r-- | etc/inc/vpn.inc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index 053b499..3a1fd6d 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -645,9 +645,8 @@ EOD; EOD; } - if (isset($pptpdcfg["wins"])) { + if (isset($pptpdcfg["wins"])) $mpdconf .= " set ipcp nbns {$pptpdcfg['wins']}\n"; - } if (isset($config['dnsmasq']['enable'])) { $mpdconf .= " set ipcp dns " . $config['interfaces']['lan']['ipaddr']; if ($syscfg['dnsserver'][0]) @@ -730,10 +729,7 @@ EOD; break; } - if (!$g['booting']) { - /* reload the filter */ - touch("{$g["tmp_path"]}/filter_dirty"); - } + touch("{$g["tmp_path"]}/filter_dirty"); if ($g['booting']) echo "done\n"; |