Révision 16c02722
Ajouté par Ermal il y a plus de 9 ans
etc/inc/vpn.inc | ||
---|---|---|
615 | 615 |
|
616 | 616 |
$left_spec = $ep; |
617 | 617 |
|
618 |
if (isset($ph1ent['reauth_enable'])) |
|
619 |
$reauth = "reauth = yes"; |
|
620 |
else |
|
621 |
$reauth = "reauth = no"; |
|
622 |
if (isset($ph1ent['rekey_enable'])) |
|
623 |
$rekey = "rekey = yes"; |
|
624 |
else |
|
625 |
$rekey = "rekey = no"; |
|
626 |
|
|
618 | 627 |
$ipseclifetime = 0; |
619 | 628 |
$rightsubnet_spec = array(); |
620 | 629 |
$leftsubnet_spec = array(); |
... | ... | |
775 | 784 |
aggressive = {$aggressive} |
776 | 785 |
fragmentation = yes |
777 | 786 |
keyexchange = {$keyexchange} |
778 |
reauth = yes
|
|
779 |
rekey = yes
|
|
787 |
{$reauth}
|
|
788 |
{$rekey}
|
|
780 | 789 |
reqid = {$ikeid} |
781 | 790 |
installpolicy = yes |
782 | 791 |
{$tunneltype} |
Formats disponibles : Unified diff
Actually use the new toggles