Commit 7af68735 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Fixed splitting up of cidr_allow & cidr_deny

- Thanks Ben Heilman
ref: http://devlabs.linuxassist.net/issues/91
parent 25089d60
......@@ -133,11 +133,11 @@ sub configure {
# Fix up these ...
if (defined($server->{'cidr_allow'})) {
my @lst = split(/,\s;/,$server->{'cidr_allow'});
my @lst = split(/[,\s;]+/,$server->{'cidr_allow'});
$server->{'cidr_allow'} = \@lst;
}
if (defined($server->{'cidr_deny'})) {
my @lst = split(/,\s;/,$server->{'cidr_deny'});
my @lst = split(/[,\s;]+/,$server->{'cidr_deny'});
$server->{'cidr_deny'} = \@lst;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment