diff options
author | miwi <miwi@FreeBSD.org> | 2009-03-17 06:01:34 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-03-17 06:01:34 +0800 |
commit | fdc71bcb6b6c081392605c83683014aa80c0b1dd (patch) | |
tree | d9a3805c9ec4815c151b93564a07d1731c260c0b /security | |
parent | b96d6754e4b233af9ac4102aa9ac18bdc6fc0ad7 (diff) | |
download | freebsd-ports-gnome-fdc71bcb6b6c081392605c83683014aa80c0b1dd.tar.gz freebsd-ports-gnome-fdc71bcb6b6c081392605c83683014aa80c0b1dd.tar.zst freebsd-ports-gnome-fdc71bcb6b6c081392605c83683014aa80c0b1dd.zip |
- Fix warning output
PR: 132541
Submitted by: Lukasz Wasikowski <lukasz@wasikowski.net>
Diffstat (limited to 'security')
-rw-r--r-- | security/rkhunter/files/patch-rkhunter | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/rkhunter/files/patch-rkhunter b/security/rkhunter/files/patch-rkhunter index 97cbe7dfc03c..133f7b5671bb 100644 --- a/security/rkhunter/files/patch-rkhunter +++ b/security/rkhunter/files/patch-rkhunter @@ -7,7 +7,7 @@ - SOCKSTAT_OUTPUT=`${SOCKSTAT_CMD} -n | grep '\*[:.]\*' | cut -c1-55 | grep '\*[:.]' | cut -c39-47 | grep -v '\*' | tr -d ' ' | ${SORT_CMD} | ${UNIQ_CMD}` - NETSTAT_OUTPUT=`${NETSTAT_CMD} -an | egrep -v 'TIME_WAIT|ESTABLISHED|SYN_SENT|CLOSE_WAIT|LAST_ACK|SYN_RECV|CLOSING' | cut -c1-44 | grep '\*\.' | cut -c24-32 | grep -v '\*' | tr -d ' ' | tr -d '\t' | ${SORT_CMD} | ${UNIQ_CMD}` + SOCKSTAT_OUTPUT=`${SOCKSTAT_CMD} | grep '\*[:.]\*' | cut -c1-55 | grep '\*[:.]' | cut -c39-47 | grep -v '\*' | tr -d ' ' | ${SORT_CMD} | ${UNIQ_CMD}` -+ NETSTAT_OUTPUT=`${NETSTAT_CMD} -an | egrep -v 'TIME_WAIT|ESTABLISHED|SYN_SENT|CLOSE_WAIT|LAST_ACK|SYN_RECV|CLOSING' | cut -c1-44 | grep '\*\.' | cut -c23-31 | grep -v '\*' | tr -d ' ' | tr -d '\t' | ${SORT_CMD} | ${UNIQ_CMD}` ++ NETSTAT_OUTPUT=`${NETSTAT_CMD} -an | egrep -v 'TIME_WAIT|ESTABLISHED|SYN_SENT|CLOSE_WAIT|LAST_ACK|SYN_RECV|CLOSING' | cut -c1-44 | grep '\*\.' | cut -c23-31 | grep -v '\*' | tr -d ' ' | tr -d '\t' | tr -d '.' | ${SORT_CMD} | ${UNIQ_CMD}` if [ "${SOCKSTAT_OUTPUT}" = "${NETSTAT_OUTPUT}" ]; then display --to SCREEN+LOG --type PLAIN --result OK --color GREEN --log-indent 2 --screen-indent 4 ROOTKIT_OS_BSD_SOCKNET |