Move to Github hosted IEEE OUI data

This commit is contained in:
Oliver Gorwits
2017-04-14 08:56:12 +01:00
parent b0263b0767
commit 2406244f4c
2 changed files with 2 additions and 1 deletions

View File

@@ -5,6 +5,7 @@
* #27 add SNMP tips for Huawei, CloudEngine, Linksys (stoatwblr)
* Add GAIA Embedded SSH collector (not the same as VSX, apparently)
* Add another community FreeBSD install guide
* Move to Github hosted IEEE OUI data
[BUG FIXES]

View File

@@ -197,7 +197,7 @@ sub deploy_oui {
@lines = File::Slurp::read_file($ARGV[0], err_mode => 'quiet');
}
else {
my $url = 'http://standards-oui.ieee.org/oui.txt';
my $url = 'https://raw.githubusercontent.com/netdisco/upstream-sources/master/ieee/oui.txt';
my $resp = HTTP::Tiny->new->get($url);
@lines = split /\n/, $resp->{content};
}