mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-29 18:02:35 +00:00
dhcp-lease: Search default Fedora location for oui.txt file.
So script won't bug you about downloading something that doesn't exist.
This commit is contained in:
@@ -29,7 +29,7 @@ my @LEASES = ('/var/db/dhcpd.leases', '/var/lib/dhcp/dhcpd.leases', '/var/lib/dh
|
||||
my @all_leases;
|
||||
my @leases;
|
||||
|
||||
my @OUIS = ('/usr/share/misc/oui.txt', '/usr/local/etc/oui.txt');
|
||||
my @OUIS = ('/usr/share/hwdata/oui.txt', '/usr/share/misc/oui.txt', '/usr/local/etc/oui.txt');
|
||||
my $OUI_URL = 'http://standards.ieee.org/regauth/oui/oui.txt';
|
||||
my $oui;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user