Clarify incorrect gateway IP error (#3093)

This commit is contained in:
Michael Steenbeek 2019-01-03 14:12:50 +01:00 committed by Franco Fichtner
parent 0c751d732a
commit f127c7d9a9

View File

@ -110,7 +110,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
}
}
if (!empty($pconfig['gateway']) && !is_ipaddr($pconfig['gateway'])) {
$input_errors[] = gettext("A valid IP address must be specified.");
$input_errors[] = gettext("A valid gateway IP address must be specified.");
}
/* ipalias and carp should not use network or broadcast address */