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) ...@@ -2783,10 +2783,10 @@ function filter_rules_generate(&$FilterIflist)
# BEGIN OF firewall rules # BEGIN OF firewall rules
/* default block logging? */ /* default block logging? */
$log = array("block"=>null,"pass"=>null); $log = array("block"=>null,"pass"=>null);
if(!isset($config['syslog']['nologdefaultblock'])) { if (!isset($config['syslog']['nologdefaultblock'])) {
$log['block'] = "log"; $log['block'] = "log";
} }
if(isset($config['syslog']['nologdefaultpass'])) { if (!isset($config['syslog']['nologdefaultpass'])) {
$log['pass'] = "log"; $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