Commit 99f28a1d authored by Leigh Stoller's avatar Leigh Stoller

Minor bug fix.

parent 72d6a8e6
......@@ -132,7 +132,7 @@ else {
}
if (defined($options{'I'})) {
$IP = $options{'I'};
if ($IP !~ /^(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})$/) {
if ($IP !~ /^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})$/) {
fatal("Invalid IP format");
}
}
......
Markdown is supported
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