Commit 9dd8a244 authored by Franco Fichtner's avatar Franco Fichtner

firewall: flippetyflop default pass logging

PR: https://forum.opnsense.org/index.php?topic=2012.0
parent 551289a5
......@@ -2783,10 +2783,10 @@ function filter_rules_generate(&$FilterIflist)
# BEGIN OF firewall rules
/* default block logging? */
$log = array("block"=>null,"pass"=>null);
if(!isset($config['syslog']['nologdefaultblock'])) {
if (!isset($config['syslog']['nologdefaultblock'])) {
$log['block'] = "log";
}
if(isset($config['syslog']['nologdefaultpass'])) {
if (!isset($config['syslog']['nologdefaultpass'])) {
$log['pass'] = "log";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment