IPsec - typo in auto generated rules. closes https://github.com/opnsense/core/issues/4920

This commit is contained in:
Ad Schellevis 2021-04-26 18:21:49 +02:00
parent ca67acc9d8
commit 45b697f6db

View File

@ -255,7 +255,7 @@ function ipsec_firewall(\OPNsense\Firewall\Plugin $fw)
}
}
}
$interface = explode("_vhid", $ph1ent['interface'])[0];
$interface = explode("_vip", $ph1ent['interface'])[0];
$baserule = array("interface" => $interface,
"log" => !isset($config['syslog']['nologdefaultpass']),
"quick" => false,