forked from extern/shorewall_code
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:
parent
7045829c6e
commit
03bfac751e
@ -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( $ ) {
|
||||
|
Loading…
Reference in New Issue
Block a user