mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 02:25:05 +00:00
firewall: flippetyflop default pass logging
PR: https://forum.opnsense.org/index.php?topic=2012.0
This commit is contained in:
parent
551289a543
commit
9dd8a24440
@ -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";
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user