summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/vpn.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index f888fd3..d89afa3 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -907,7 +907,7 @@ EOD;
array_unique($filterdns_list);
foreach ($hostname as $filterdns_list)
$hostnames .= "cmd {$hostname} '/etc/rc.newipsecdns'\n";
- file_put_contents("{$g['varetc_path']}/filternds-ipsec.hosts", $hostnames);
+ file_put_contents("{$g['varetc_path']}/filterdns-ipsec.hosts", $hostnames);
killbypid("{$g['varrun_path']}/filterdns-ipsec.pid");
mwexec("/usr/local/sbin/filterdns -p {$g['varrun_path']}/filterdns-ipsec.pid -i {$interval} -c {$g['varetc_path']}/filterdns-ipsec.hosts -d 1");
OpenPOWER on IntegriCloud