Project

General

Profile

« Previous | Next » 

Revision ce21dfca

Added by Ermal LUÇI almost 11 years ago

Correct dispaly of checkboxes for ipsec

View differences:

usr/local/www/vpn_ipsec_phase1.php
107 107
	$pconfig['descr'] = $a_phase1[$p1index]['descr'];
108 108
	$pconfig['nat_traversal'] = $a_phase1[$p1index]['nat_traversal'];
109 109

  
110
	if (!isset($a_phase1[$p1index]['reauth_enable']))
110
	if (isset($a_phase1[$p1index]['reauth_enable']))
111 111
		$pconfig['reauth_enable'] = true;
112
	if (!isset($a_phase1[$p1index]['rekey_enable']))
112
	if (isset($a_phase1[$p1index]['rekey_enable']))
113 113
		$pconfig['rekey_enable'] = true;
114 114

  
115 115
	if ($a_phase1[$p1index]['dpd_delay'] &&	$a_phase1[$p1index]['dpd_maxfail']) {

Also available in: Unified diff