mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
IPSec: prepend fqdn when selected, related to https://github.com/opnsense/core/issues/4860
This commit is contained in:
parent
45b697f6db
commit
761e55184c
@ -814,6 +814,9 @@ function ipsec_find_id(&$ph1ent, $side = 'local')
|
||||
case "peeraddress":
|
||||
$thisid_data = ipsec_resolve($ph1ent['remote-gateway']);
|
||||
break;
|
||||
case "fqdn":
|
||||
$thisid_data = !empty($id_data) ? "fqdn:{$id_data}" : null;
|
||||
break;
|
||||
case "keyid tag":
|
||||
$thisid_data = !empty($id_data) ? "keyid:{$id_data}" : null;
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user