mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
IPsec:VTI, cleanse interface name. closes https://github.com/opnsense/core/issues/4143
This commit is contained in:
parent
f89d8e6582
commit
ad9d46696d
@ -203,7 +203,7 @@ function ipsec_interfaces()
|
||||
foreach (ipsec_get_configured_vtis() as $intf => $details) {
|
||||
$interfaces[$intf] = [
|
||||
'enable' => true,
|
||||
'descr' => $details['descr'],
|
||||
'descr' => preg_replace('/[^a-z_0-9]/i', '', $details['descr']),
|
||||
'if' => $intf,
|
||||
'type' => 'none',
|
||||
];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user