forked from extern/shorewall_code
Fix typo in IPAddrs.pm
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9075 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
6be125c41e
commit
875f5c7026
@ -226,7 +226,7 @@ sub validate_4host( $$ ) {
|
|||||||
my ( $host, $allow_name ) = $_[0];
|
my ( $host, $allow_name ) = $_[0];
|
||||||
|
|
||||||
if ( $host =~ /^(\d+\.\d+\.\d+\.\d+)-(\d+\.\d+\.\d+\.\d+)$/ ) {
|
if ( $host =~ /^(\d+\.\d+\.\d+\.\d+)-(\d+\.\d+\.\d+\.\d+)$/ ) {
|
||||||
validate_4ange $1, $2;
|
validate_4range $1, $2;
|
||||||
} else {
|
} else {
|
||||||
validate_4net( $host, $allow_name );
|
validate_4net( $host, $allow_name );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user