Commit b83aa0d8 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) regression services_unbound.php

parent 22ed3586
......@@ -76,7 +76,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
if (empty($pconfig['outgoing_interface'])) {
$input_errors[] = gettext("A single outgoing network interface needs to be selected for the DNS Resolver to use for outgoing DNS requests.");
}
if (!is_port($pconfig['port'])) {
if (!empty($pconfig['port']) && !is_port($pconfig['port'])) {
$input_errors[] = gettext("You must specify a valid port number.");
}
......
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