Révision 7a1f391a
Ajouté par Ermal il y a presque 10 ans
etc/inc/vpn.inc | ||
---|---|---|
610 | 610 |
|
611 | 611 |
/* Only specify peer ID if we are not dealing with a mobile PSK-only tunnel */ |
612 | 612 |
$peerid_spec = ''; |
613 |
if (!(($ph1ent['authentication_method'] == "pre_shared_key") && !isset($ph1ent['mobile']))) {
|
|
613 |
if (!isset($ph1ent['mobile']))
|
|
614 | 614 |
$peerid_spec = $peerid_data; |
615 |
} |
|
616 | 615 |
|
617 | 616 |
if (is_array($ph1ent['encryption-algorithm']) && !empty($ph1ent['encryption-algorithm']['name']) && !empty($ph1ent['hash-algorithm'])) { |
618 | 617 |
$ealgosp1 = ''; |
Formats disponibles : Unified diff
Do not specify the rightid in mobile tunnels since it makes things not work