Revision 7664f2ef
Added by Seth Mos almost 16 years ago
etc/inc/vpn.inc | ||
---|---|---|
848 | 848 |
$interval = $ipseccfg['dns-interval']; |
849 | 849 |
|
850 | 850 |
$hostnames = ""; |
851 |
array_unique($dnswatch_list); |
|
851 | 852 |
foreach ($dnswatch_list as $dns) |
852 | 853 |
$hostnames .= " " . escapeshellarg($dns); |
853 | 854 |
|
Also available in: Unified diff
Make the dnswatch_list array unique before processing it