diff --git a/Shorewall2/changelog.txt b/Shorewall2/changelog.txt index 2a48eacd4..a338d2307 100644 --- a/Shorewall2/changelog.txt +++ b/Shorewall2/changelog.txt @@ -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. diff --git a/Shorewall2/shorewall b/Shorewall2/shorewall index cecd76aa1..3683c2e2c 100755 --- a/Shorewall2/shorewall +++ b/Shorewall2/shorewall @@ -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 }