tighten up ip range regexp so as not to catch hostnames with hyphens
This commit is contained in:
@@ -152,7 +152,7 @@ sub check_acl {
|
||||
next INLIST;
|
||||
}
|
||||
|
||||
if ($item =~ m/([a-f0-9]+)-([a-f0-9]+)$/i) {
|
||||
if ($item =~ m/[:.]([a-f0-9]+)-([a-f0-9]+)$/i) {
|
||||
my $first = $1;
|
||||
my $last = $2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user