From ccf0e4d598cacfa0261e6e88d50e83f1d0907d2e Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 26 Sep 2002 20:28:49 +0000 Subject: [PATCH] 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 --- Shorewall/firewall | 1 + 1 file changed, 1 insertion(+) diff --git a/Shorewall/firewall b/Shorewall/firewall index b0c9add4d..a039e24e2 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -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\""