mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-28 17:32:35 +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,
|
||||
'mac' => $mac,
|
||||
'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
|
||||
@@ -213,7 +214,7 @@ sub cli_processing() {
|
||||
# main()
|
||||
#
|
||||
cli_processing();
|
||||
check_oui_file();
|
||||
#check_oui_file();
|
||||
read_dhcpd_leases();
|
||||
process_leases();
|
||||
output_leases();
|
||||
|
||||
Reference in New Issue
Block a user