Permalink
Browse files

Bug fix for undefined syslog routine

Fixed a bug that caused psad to emit the following:

Undefined subroutine &main::LOG_DAEMON called at ./psad line 10071.

This problem was noticed by Robert and reported on the psad mailing list.
  • Loading branch information...
1 parent 7053ee8 commit 276f516b2d32d0d8a2683b2ccf7c955b461db539 @mrash committed Apr 18, 2012
Showing with 0 additions and 5 deletions.
  1. +0 −5 psad
View
5 psad
@@ -3638,20 +3638,15 @@ sub import_fw_search() {
}
}
unless (defined $config{'FW_SEARCH_ALL'}) {
- &sys_log('defaulting missing ' .
- "FW_SEARCH_ALL variable in $config_file to Y.");
$config{'FW_SEARCH_ALL'} = 'Y';
}
unless ($config{'FW_SEARCH_ALL'} eq 'Y' or
$config{'FW_SEARCH_ALL'} eq 'N') {
- &sys_log('setting FW_SEARCH_ALL to Y.');
$config{'FW_SEARCH_ALL'} = 'Y';
}
if ($config{'FW_SEARCH_ALL'} eq 'N' and not $found_fw_search) {
- &sys_log('defaulting missing ' .
- "FW_MSG_SEARCH variable in $config_file to DROP.");
push @fw_search, 'DROP';
}
return;

0 comments on commit 276f516

Please sign in to comment.