forked from extern/shorewall_code
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:
parent
f6447c935b
commit
e21c3a0f8b
@ -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.
|
||||
|
@ -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 "
|
||||
|
@ -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.
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user