1
0

Fix tcrules PROTO processing

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1592 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-09-02 16:59:57 +00:00
parent f6447c935b
commit e21c3a0f8b
3 changed files with 12 additions and 0 deletions

View File

@ -50,3 +50,7 @@ Changes in 2.0.8
1) Removed dead code from process_actions2()
2) Corrected read command in process_actions2() (userspec)
Changes in 2.0.9
1) Corrected setup_tc1() handling of the PROTO column.

View File

@ -2075,6 +2075,8 @@ process_tc_rule()
fi
[ "x$dest" = "x-" ] || r="${r}-d $dest "
[ "x$proto" = "x-" ] && proto=all
[ "x$proto" = "x" ] && proto=all
[ "$proto" = "all" ] || r="${r}-p $proto "
[ "x$port" = "x-" ] || r="${r}--dport $port "
[ "x$sport" = "x-" ] || r="${r}--sport $sport "

View File

@ -119,6 +119,12 @@ Problems Corrected in version 2.0.8
1) User/group restricted rules now work in actions.
-----------------------------------------------------------------------
Problems Corrected in version 2.0.9
1) Previously, an empty PROTO column or a value of "all" in that column
would cause errors when processing the /etc/shorewall/tcrules file.