mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-28 10:33:21 +01:00
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) "
|
||||
|
||||
if [ "x$proto" = xipp2p ]; then
|
||||
r="${r} -p tcp -m ipp2p"
|
||||
[ "x$port" = "x-" ] && port="ipp2p"
|
||||
r="${r} --${port}"
|
||||
r="${r} -p tcp -m ipp2p --${port}"
|
||||
else
|
||||
[ "x$proto" = "x-" ] && proto=all
|
||||
[ "x$proto" = "x" ] && proto=all
|
||||
|
Loading…
Reference in New Issue
Block a user