mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
ipsec: remove check, too trigger-happy
This commit is contained in:
parent
da7b2232c1
commit
a4958ed125
@ -1677,10 +1677,6 @@ function ipsec_configure_vti($verbose = false)
|
||||
$configured_intf = ipsec_get_configured_vtis();
|
||||
$current_interfaces = array();
|
||||
|
||||
if (empty($configured_intf)) {
|
||||
return;
|
||||
}
|
||||
|
||||
foreach (legacy_interfaces_details() as $intf => $intf_details) {
|
||||
if (strpos($intf, 'ipsec') === 0) {
|
||||
$current_interfaces[$intf] = $intf_details;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user