mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-15 19:01:19 +01:00
Fix port-pair validation broken in last commit
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6613 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
5d22f907d2
commit
e5135cd62c
@ -783,6 +783,8 @@ sub validate_portpair( $ ) {
|
||||
}
|
||||
|
||||
fatal_error "Invalid/Unknown port/service ($port)" unless defined $value;
|
||||
|
||||
$port = $value;
|
||||
}
|
||||
|
||||
if ( @ports == 2 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user