Remove ipt_unclean code from log file processing

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1740 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-11-05 16:18:52 +00:00
parent 28969cdcf6
commit 3ff377ef38
2 changed files with 3 additions and 2 deletions

View File

@ -128,3 +128,5 @@ Changes since 2.0.3
61) Add note for Slackware users to INSTALL.
62) Allow interface in DEST tcrules column.
63) Remove 'ipt_unclean' from search expression in "log" commands.

View File

@ -333,10 +333,9 @@ packet_log() # $1 = number of messages
[ -n "$realtail" ] && options="-n$1"
grep "${LOGFORMAT}\|ipt_unclean" $LOGFILE | \
grep "${LOGFORMAT}" $LOGFILE | \
sed s/" kernel:"// | \
sed s/" $host $LOGFORMAT"/" "/ | \
sed s/" $host kernel: ipt_unclean: "/" "/ | \
sed 's/MAC=.* SRC=/SRC=/' | \
tail $options
}