Fix to last commit

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6611 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-06-20 01:41:32 +00:00
parent 7045829c6e
commit 03bfac751e

View File

@ -761,6 +761,7 @@ sub validate_proto( $ ) {
return $proto if $proto =~ /^(\d+)$/ && $proto <= 65535;
return $proto if $proto eq 'all';
fatal_error "Invalid/Unknown protocol ($proto)" if $config{VALIDATE_PORTS};
return $proto
}
sub validate_portpair( $ ) {