mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
ipsec: port to plugins_interface_map()
There was a typo here, too. But it also wasn't fully tested yet and not in 24.7.x yet.
This commit is contained in:
parent
6e1be9df8a
commit
9ad018f580
@ -1236,8 +1236,11 @@ function ipsec_configure_do($verbose = false, $interface_map = null)
|
||||
{
|
||||
global $config;
|
||||
|
||||
if (!empty($interface)) {
|
||||
$interface_map = explode(',', $interface_map);
|
||||
if (!plugins_argument_map($interface_map)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!empty($interface_map)) {
|
||||
$active = false;
|
||||
|
||||
if (isset($config['ipsec']['phase1'])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user