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:
Ben Greear
2019-02-12 15:27:07 -08:00
parent 21ba2d1058
commit efc3aa4b0c

View File

@@ -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;