Révision e952906e
Ajouté par Ermal il y a plus de 9 ans
etc/inc/ipsec.inc | ||
---|---|---|
676 | 676 |
return $descr; |
677 | 677 |
} |
678 | 678 |
|
679 |
function ipsec_disconnect_mobile($username) { |
|
680 |
if (empty($username)) |
|
681 |
return false; |
|
682 |
exec("/usr/local/sbin/racoonctl logout-user " . escapeshellarg($username)); |
|
683 |
} |
|
684 |
|
|
685 | 679 |
function ipsec_fixup_ip($ipaddr) { |
686 | 680 |
if (is_ipaddrv6($ipaddr) || is_subnetv6($ipaddr)) |
687 | 681 |
return Net_IPv6::compress(Net_IPv6::uncompress($ipaddr)); |
Formats disponibles : Unified diff
Remove traces of older implementation still present