summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/vpn.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 53ab380..74371d9 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -848,6 +848,7 @@ EOD;
$interval = $ipseccfg['dns-interval'];
$hostnames = "";
+ array_unique($dnswatch_list);
foreach ($dnswatch_list as $dns)
$hostnames .= " " . escapeshellarg($dns);
OpenPOWER on IntegriCloud