Precedence issue in /usr/sbin/fwcheck_psad line 193
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
psad (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
NAME="Ubuntu"
VERSION="16.10 (Yakkety Yak)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.10"
VERSION_ID="16.10"
HOME_URL="http://
SUPPORT_URL="http://
BUG_REPORT_URL="http://
PRIVACY_
VERSION_
UBUNTU_
--
psad:
Installed: 2.2.3-1.1
Candidate: 2.2.3-1.1
Version table:
*** 2.2.3-1.1 500
500 http://
100 /var/lib/
--
When you run "psad -R", you get warning:
Possible precedence issue with control flow operator at /usr/sbin/
--
This can be fixed by setting parenthesis around return on 193:
return ($forward_chain_rv and $input_chain_rv);
Thank you! This was very helpful!