mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
VPN: IPsec: Mobile & Advanced Settings - copy "Split DNS name" to undocumented "25", closes https://github.com/opnsense/core/issues/8552
* https://docs.strongswan.org/docs/latest/plugins/attr.html * https://lists.strongswan.org/pipermail/dev/2019-May/001994.html
This commit is contained in:
parent
b87eba3085
commit
6d579db491
@ -223,6 +223,10 @@ class IPsec extends BaseModel
|
||||
if ($target_key == '28672') {
|
||||
/* Unity login banner, needs to be wrapped? */
|
||||
$result[$target_key] = '"' . str_replace(['\\', '"'], '', (string)$item) . '"';
|
||||
} elseif ($target_key == '28675') {
|
||||
/* 28675 (splitdns name) is equal/similar to 25 (INTERNAL_DNS_DOMAIN) */
|
||||
$result['25'] = (string)$item;
|
||||
$result[$target_key] = (string)$item;
|
||||
} else {
|
||||
$result[$target_key] = (string)$item;
|
||||
}
|
||||
|
||||
@ -113,7 +113,6 @@
|
||||
<!-- UNITY_DEF_DOMAIN -->
|
||||
<x_28674 type="TextField"/>
|
||||
<x_28675 type="TextField"/>
|
||||
<x_25 type="TextField"/>
|
||||
<x_28672 type="TextField"/>
|
||||
<x_28673 type="BooleanField"/>
|
||||
<x_28679 type="OptionField">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user