diff --git a/src/usr/local/www/interfaces.php b/src/usr/local/www/interfaces.php index f7e998bb8f..0c7476c202 100755 --- a/src/usr/local/www/interfaces.php +++ b/src/usr/local/www/interfaces.php @@ -1770,9 +1770,6 @@ $types4 = array("none" => gettext("None"), "staticv4" => gettext("Static IPv4"), $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"), "dhcp6" => gettext("DHCP6"), "slaac" => gettext("SLAAC"), "6rd" => gettext("6rd Tunnel"), "6to4" => gettext("6to4 Tunnel"), "track6" => gettext("Track Interface")); // Get the MAC address -$ip = $_SERVER['REMOTE_ADDR']; -$mymac = `/usr/sbin/arp -an | grep '('{$ip}')' | head -n 1 | cut -d" " -f4`; -$mymac = str_replace("\n", "", $mymac); $defgatewayname4 = $wancfg['descr'] . "GW"; $defgatewayname6 = $wancfg['descr'] . "GWv6";