mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 17:44:41 +00:00
ipsec: unfortunately the previous was never empty()
PR: https://forum.opnsense.org/index.php?topic=42407.0
This commit is contained in:
parent
1717cf05b5
commit
0e4cb12f3f
@ -228,7 +228,7 @@ function ipsec_firewall(\OPNsense\Firewall\Plugin $fw)
|
||||
{
|
||||
global $config;
|
||||
if (
|
||||
empty((new \OPNsense\IPsec\IPsec())->general->disablevpnrules) &&
|
||||
(string)(new \OPNsense\IPsec\IPsec())->general->disablevpnrules == '0' &&
|
||||
isset($config['ipsec']['enable']) && isset($config['ipsec']['phase1'])
|
||||
) {
|
||||
$enable_replyto = empty($config['system']['disablereplyto']);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user