Move to Github hosted IEEE OUI data
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
* #27 add SNMP tips for Huawei, CloudEngine, Linksys (stoatwblr)
|
* #27 add SNMP tips for Huawei, CloudEngine, Linksys (stoatwblr)
|
||||||
* Add GAIA Embedded SSH collector (not the same as VSX, apparently)
|
* Add GAIA Embedded SSH collector (not the same as VSX, apparently)
|
||||||
* Add another community FreeBSD install guide
|
* Add another community FreeBSD install guide
|
||||||
|
* Move to Github hosted IEEE OUI data
|
||||||
|
|
||||||
[BUG FIXES]
|
[BUG FIXES]
|
||||||
|
|
||||||
|
|||||||
@@ -197,7 +197,7 @@ sub deploy_oui {
|
|||||||
@lines = File::Slurp::read_file($ARGV[0], err_mode => 'quiet');
|
@lines = File::Slurp::read_file($ARGV[0], err_mode => 'quiet');
|
||||||
}
|
}
|
||||||
else {
|
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);
|
my $resp = HTTP::Tiny->new->get($url);
|
||||||
@lines = split /\n/, $resp->{content};
|
@lines = split /\n/, $resp->{content};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user