diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2009-07-13 14:24:43 +0200 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2009-07-13 14:24:43 +0200 |
commit | 7664f2ef9719520f3212801cd31a6427b339c665 (patch) | |
tree | a5d3813089d52be582ea67ab6ff6379683e7d086 /etc | |
parent | a5f91ef49bda0f1ae244289dd433a5c2b307db14 (diff) | |
download | pfsense-7664f2ef9719520f3212801cd31a6427b339c665.zip pfsense-7664f2ef9719520f3212801cd31a6427b339c665.tar.gz |
Make the dnswatch_list array unique before processing it
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/vpn.inc | 1 |
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); |