summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-28 20:23:34 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-28 20:23:34 +0000
commitb7e7d60e330f129bfa23a7d30aa1436b01170e03 (patch)
tree937559a770091f5c10abe86a4661055748fa78ea /etc/inc/vpn.inc
parent1bd386255097bbeec21dd8c11adc1e0e6a053e72 (diff)
downloadpfsense-b7e7d60e330f129bfa23a7d30aa1436b01170e03.zip
pfsense-b7e7d60e330f129bfa23a7d30aa1436b01170e03.tar.gz
Reload the filter even on bootup
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc8
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";
OpenPOWER on IntegriCloud