mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-23 19:21:21 +02:00
Fix tcrules PROTO processing
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1593 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
e21c3a0f8b
commit
3ede79187f
@ -58,3 +58,5 @@ Changes since 2.0.3
|
|||||||
27) Include params file on 'restore'
|
27) Include params file on 'restore'
|
||||||
|
|
||||||
28) Apply Richard Musil's patch.
|
28) Apply Richard Musil's patch.
|
||||||
|
|
||||||
|
29) Correct parsing of PROTO column in setup_tc1().
|
||||||
|
@ -2180,6 +2180,8 @@ process_tc_rule()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
[ "x$dest" = "x-" ] || r="${r}-d $dest "
|
[ "x$dest" = "x-" ] || r="${r}-d $dest "
|
||||||
|
[ "x$proto" = "x-" ] && proto=all
|
||||||
|
[ "x$proto" = "x" ] && proto=all
|
||||||
[ "$proto" = "all" ] || r="${r}-p $proto "
|
[ "$proto" = "all" ] || r="${r}-p $proto "
|
||||||
[ "x$port" = "x-" ] || r="${r}--dport $port "
|
[ "x$port" = "x-" ] || r="${r}--dport $port "
|
||||||
[ "x$sport" = "x-" ] || r="${r}--sport $sport "
|
[ "x$sport" = "x-" ] || r="${r}--sport $sport "
|
||||||
|
@ -40,6 +40,8 @@ Problems corrected since 2.1.7
|
|||||||
|
|
||||||
1) Fix parsing of ACTION with ":" but no log level (Richard Musil).
|
1) Fix parsing of ACTION with ":" but no log level (Richard Musil).
|
||||||
|
|
||||||
|
2) Fix parsing of PROTO column in /etc/shorewall/tcrules.
|
||||||
|
|
||||||
-----------------------------------------------------------------------
|
-----------------------------------------------------------------------
|
||||||
Issues when migrating from Shorewall 2.0 to Shorewall 2.1:
|
Issues when migrating from Shorewall 2.0 to Shorewall 2.1:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user