Skip to content

Commit

Permalink
IPsec - typo in auto generated rules. closes #4920
Browse files Browse the repository at this point in the history
(cherry picked from commit 45b697f)
  • Loading branch information
AdSchellevis authored and fichtner committed May 26, 2021
1 parent 64268c5 commit 4758dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/inc/plugins.inc.d/ipsec.inc
Expand Up @@ -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,
Expand Down

0 comments on commit 4758dd8

Please sign in to comment.