forked from extern/shorewall_code
Clean up of ipp2p
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1700 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
67751bbedf
commit
a0734dcfea
@ -2345,9 +2345,8 @@ process_tc_rule()
|
|||||||
[ "x$dest" = "x-" ] || r="${r}$(dest_ip_range $dest) "
|
[ "x$dest" = "x-" ] || r="${r}$(dest_ip_range $dest) "
|
||||||
|
|
||||||
if [ "x$proto" = xipp2p ]; then
|
if [ "x$proto" = xipp2p ]; then
|
||||||
r="${r} -p tcp -m ipp2p"
|
|
||||||
[ "x$port" = "x-" ] && port="ipp2p"
|
[ "x$port" = "x-" ] && port="ipp2p"
|
||||||
r="${r} --${port}"
|
r="${r} -p tcp -m ipp2p --${port}"
|
||||||
else
|
else
|
||||||
[ "x$proto" = "x-" ] && proto=all
|
[ "x$proto" = "x-" ] && proto=all
|
||||||
[ "x$proto" = "x" ] && proto=all
|
[ "x$proto" = "x" ] && proto=all
|
||||||
|
Loading…
Reference in New Issue
Block a user