Commit 0020a927 authored by Franco Fichtner's avatar Franco Fichtner

src: whitespace sweep

parent f3733699
......@@ -318,7 +318,7 @@ function display_login_form()
}
/* Check against locally configured IP addresses, which will catch when someone
port forwards WebGUI access from WAN to an internal IP on the router. */
port forwards WebGUI access from WAN to an internal IP on the router. */
$FilterIflist = filter_generate_optcfg_array() ;
$local_ip = false;
if (strstr($_SERVER['HTTP_HOST'], ":")) {
......
......@@ -1276,4 +1276,3 @@ function openvpn_get_settings($mode, $vpnid) {
return array();
}
......@@ -39,7 +39,7 @@ function handle_argument_group($iface, $argument2) {
if (!is_array($config['interfaces'][$iface]))
return;
if (isset($config['interfaces'][$iface]['ipaddr'])) {
if (isset($config['interfaces'][$iface]['ipaddr'])) {
$ipaddr = $config['interfaces'][$iface]['ipaddr'];
} else {
$ipaddr = null ;
......
......@@ -425,7 +425,7 @@ include("head.inc");
$description = "";
}
$colspan = '';
if ($pkga['type'] == "sorting")
continue;
......
......@@ -58,7 +58,7 @@ $arr_gateways = return_gateways_array();
if (isset($config['system']['dns1gw'])) {
$pconfig['dns1gw'] = $config['system']['dns1gw'];
} else {
$pconfig['dns1gw'] = null;
$pconfig['dns1gw'] = null;
}
if (isset($config['system']['dns2gw'])) {
$pconfig['dns2gw'] = $config['system']['dns2gw'];
......
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