mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
dhcp-lease-list script: Don't show manufacturer.
It is quite inefficient and scales badly. Disble this feature and just show the MAC address since we want to be able to call this script often. Signed-off-by: Ben Greear <greearb@candelatech.com>
This commit is contained in:
@@ -127,7 +127,8 @@ sub process_leases() {
|
|||||||
'date_end' => $date_end,
|
'date_end' => $date_end,
|
||||||
'mac' => $mac,
|
'mac' => $mac,
|
||||||
'hostname' => $hostname,
|
'hostname' => $hostname,
|
||||||
'manu' => get_manufactorer_for_mac($mac),
|
# Too slow. --Ben 'manu' => get_manufactorer_for_mac($mac),
|
||||||
|
'manu' => "",
|
||||||
);
|
);
|
||||||
|
|
||||||
$entry{'date_begin'} =~ s#\/#-#g; # long live ISO 8601
|
$entry{'date_begin'} =~ s#\/#-#g; # long live ISO 8601
|
||||||
@@ -213,7 +214,7 @@ sub cli_processing() {
|
|||||||
# main()
|
# main()
|
||||||
#
|
#
|
||||||
cli_processing();
|
cli_processing();
|
||||||
check_oui_file();
|
#check_oui_file();
|
||||||
read_dhcpd_leases();
|
read_dhcpd_leases();
|
||||||
process_leases();
|
process_leases();
|
||||||
output_leases();
|
output_leases();
|
||||||
|
|||||||
Reference in New Issue
Block a user