mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Let the code ready for strongswan 5.3.4, where key used to track nat were committed with a different name
This commit is contained in:
parent
eb836ace21
commit
adc7124bc8
@ -201,7 +201,13 @@ $status = ipsec_list_sa();
|
||||
} else {
|
||||
echo gettext("Unknown");
|
||||
}
|
||||
if (isset($ikesa['local-nat-t'])) {
|
||||
/*
|
||||
* XXX: local-nat-t was defined by pfSense
|
||||
* When strongswan team accepted the change, they changed it to
|
||||
* nat-local. Keep both for a while and remove local-nat-t in
|
||||
* the future
|
||||
*/
|
||||
if (isset($ikesa['local-nat-t']) || isset($ikesa('nat-local'))) {
|
||||
echo " NAT-T";
|
||||
}
|
||||
|
||||
@ -239,7 +245,13 @@ $status = ipsec_list_sa();
|
||||
} else {
|
||||
echo gettext("Unknown");
|
||||
}
|
||||
if (isset($ikesa['remote-nat-t'])) {
|
||||
/*
|
||||
* XXX: remote-nat-t was defined by pfSense
|
||||
* When strongswan team accepted the change, they changed it to
|
||||
* nat-remote. Keep both for a while and remove remote-nat-t in
|
||||
* the future
|
||||
*/
|
||||
if (isset($ikesa['remote-nat-t']) || isset($ikesa('nat-remote'))) {
|
||||
echo " NAT-T";
|
||||
}
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user