Don't insist on NEW state for odd protocols

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@256 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2002-09-26 20:28:49 +00:00
parent f2b2e84808
commit ccf0e4d598

View File

@ -672,6 +672,7 @@ validate_rule() {
state="-m state --state RELATED"
;;
*)
state=
[ -n "$port" ] && [ "x${port}" != "x-" ] && \
startup_error "Port number not allowed with protocol " \
"\"$proto\"; rule: \"$rule\""