Eliminate duplicate routing table dump from 'shorewall status'

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2220 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-06-03 18:59:06 +00:00
parent 910d248afe
commit f75f936cff
3 changed files with 8 additions and 10 deletions

View File

@ -4,6 +4,8 @@ Changes in 2.4.0-Final
2) Remove "ipp2p" support in the rules file. 2) Remove "ipp2p" support in the rules file.
3) Fix duplicate routing table listings from "shorewall status"
Changes in 2.4.0-RC2 Changes in 2.4.0-RC2
1) Relax "detect" restriction. 1) Relax "detect" restriction.

View File

@ -1,15 +1,10 @@
Shorewall 2.4.0-RC2 Shorewall 2.4.0
----------------------------------------------------------------------- -----------------------------------------------------------------------
Problems Corrected since 2.4.0-RC1 Problems Corrected since 2.4.0-RC2
1) The value 'detect' in the GATEWAY column of the providers file 1) Previously, "shorewall status" could list the same routing table's
is no longer restricted to P-T-P interfaces. contents more than once.
2) Previously "shorewall add" would terminate with an error if any of
the listed hosts were already in the specified zone. Now a warning
message is issued and an attempt is made to add the non-duplicate
hosts to the zone (Patch by Tuomo Soini).
----------------------------------------------------------------------- -----------------------------------------------------------------------
Upgrade Issues when moving to 2.4.0 Upgrade Issues when moving to 2.4.0

View File

@ -1161,7 +1161,8 @@ case "$1" in
echo echo
ip rule ls ip rule ls
ip rule ls | while read rule; do ip rule ls | while read rule; do
table=${rule##* } echo ${rule##* }
done | sort -u | while read table; do
echo echo
echo "Table $table:" echo "Table $table:"
echo echo