diff options
author | Phil Davis <phil.davis@inf.org> | 2015-11-19 11:27:51 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-11-19 11:27:51 +0545 |
commit | a68539caa194c724f82d3ac01536b15b4583533e (patch) | |
tree | f28f65f86832252343990a6ffc092323de92e6d7 | |
parent | c4016375e64f959666d569eecd8787654634d2ef (diff) | |
download | pfsense-a68539caa194c724f82d3ac01536b15b4583533e.zip pfsense-a68539caa194c724f82d3ac01536b15b4583533e.tar.gz |
Gateways widget remove unused code
This stuff is done further down. Somewhere in the integration of RELENG_2_2 and Bootstrap this chunk of code has been accidentally duplicated. It is not like this in RELENG_2_2.
-rw-r--r-- | src/usr/local/www/widgets/widgets/gateways.widget.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/usr/local/www/widgets/widgets/gateways.widget.php b/src/usr/local/www/widgets/widgets/gateways.widget.php index 91a5176..a5b5d1c 100644 --- a/src/usr/local/www/widgets/widgets/gateways.widget.php +++ b/src/usr/local/www/widgets/widgets/gateways.widget.php @@ -91,19 +91,7 @@ if($_REQUEST && $_REQUEST['ajax']) { foreach ($a_gateways as $gname => $gateway) { print("<tr>\n"); print( "<td>\n"); - - $if_gw = ''; - if (is_ipaddr($gateway['gateway'])) - $if_gw = $gateway['gateway']; - else { - if($gateway['ipprotocol'] == "inet") - $if_gw = get_interface_gateway($gateway['friendlyiface']); - if($gateway['ipprotocol'] == "inet6") - $if_gw = get_interface_gateway_v6($gateway['friendlyiface']); - } - print(htmlspecialchars($gateway['name']) . "<br />"); - print('<div id="gateway' . $counter . '" style="display:inline"><b>'); $monitor_address = ""; |