Fix indent of if-block

This commit is contained in:
hamnur 2017-07-14 12:44:55 +02:00
parent 7683e05756
commit 9d472f01c3

View File

@ -246,7 +246,7 @@ if ($_POST['save']) {
} else if(intval($pconfig['margintime']) >= intval($pconfig['lifetime'])){
$input_errors[] = gettext("The margintime must be smaller than the P1 lifetime.");
}
}
}
if ($pconfig['remotegw']) {
if (!is_ipaddr($pconfig['remotegw']) && !is_domain($pconfig['remotegw'])) {