Correct ICMP Protocol Number in Case Statement

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@93 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2002-06-25 16:11:27 +00:00
parent 90bb5f1b53
commit 399aa099ba

View File

@ -1537,7 +1537,7 @@ add_a_rule()
sports="--sport $cport"
fi
;;
icmp|ICMP|0)
icmp|ICMP|1)
[ -n "$port" ] && [ "x${port}" != "x-" ] && \
dports="--icmp-type $port"
state=