From 21ebeac3a45fef958a7d5b710cb3148f68a94029 Mon Sep 17 00:00:00 2001 From: kimocoder Date: Wed, 9 Aug 2023 20:41:33 +0200 Subject: [PATCH] Update OUI fetch tool --- tools/fetch-oui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/fetch-oui b/tools/fetch-oui index d504a5d1e..516a9cebf 100755 --- a/tools/fetch-oui +++ b/tools/fetch-oui @@ -93,7 +93,7 @@ foreach $key (sort keys %ieee_reg_urls) { print "Processing IEEE $key registry data from $url\n" if $verbose; my $ua = LWP::UserAgent->new; my $res = $ua->get($url); - die "Could not get $key data from $url\n" unless $res->is_success; + die $res->status_line unless $res->is_success; my $content = $res->content; my $content_length = length($content); die "Zero-sized response from from $url\n" unless ($content_length > 0);