mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Remove unused variables
This commit is contained in:
parent
65c9fdc644
commit
bd4e8db91a
@ -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";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user