diff options
Diffstat (limited to 'etc/inc/vpn.inc')
-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"; |