Project

General

Profile

« Previous | Next » 

Revision b7e7d60e

Added by Scott Ullrich about 20 years ago

Reload the filter even on bootup

View differences:

etc/inc/vpn.inc
645 645

  
646 646
EOD;
647 647
			}
648
			if (isset($pptpdcfg["wins"])) {
648
			if (isset($pptpdcfg["wins"])) 
649 649
				$mpdconf .= "	set ipcp nbns {$pptpdcfg['wins']}\n";
650
			}
651 650
			if (isset($config['dnsmasq']['enable'])) {
652 651
				$mpdconf .= "	set ipcp dns " . $config['interfaces']['lan']['ipaddr'];
653 652
				if ($syscfg['dnsserver'][0])
......
730 729
			break;
731 730
	}
732 731

  
733
	if (!$g['booting']) {
734
		/* reload the filter */
735
		touch("{$g["tmp_path"]}/filter_dirty");
736
	}
732
	touch("{$g["tmp_path"]}/filter_dirty");
737 733

  
738 734
	if ($g['booting'])
739 735
		echo "done\n";

Also available in: Unified diff