Project

General

Profile

« Previous | Next » 

Revision 7664f2ef

Added by Seth Mos almost 16 years ago

Make the dnswatch_list array unique before processing it

View differences:

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