Skip to content
Browse files

minor bug fix to auto-generate iptables logs in benchmark mode

  • Loading branch information...
1 parent d69cbdf commit a91f73529e6e799068af6cad68ddd0c2f5cab92d @mrash committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 psad
View
2 psad
@@ -3341,7 +3341,7 @@ sub psad_init() {
### setup the appropriate iptables data file depending on whether
### SYSLOG_DAEMON is set to ulogd, or if ENABLE_SYSLOG_FILE is set
### to 'Y'
- unless ($fw_data_file) {
+ unless ($benchmark or $fw_data_file) {
if ($config{'SYSLOG_DAEMON'} =~ /ulog/i) {
$fw_data_file = $config{'ULOG_DATA_FILE'};
} elsif ($config{'ENABLE_SYSLOG_FILE'} eq 'Y') {

0 comments on commit a91f735

Please sign in to comment.
Something went wrong with that request. Please try again.