openbsd-ports/net/arp-scan/patches/patch-get-iab

22 lines
611 B
Plaintext

$OpenBSD: patch-get-iab,v 1.1 2012/05/08 11:04:27 sthen Exp $
--- get-iab.orig Sun Jan 9 10:37:09 2011
+++ get-iab Tue May 8 11:17:20 2012
@@ -36,7 +36,7 @@ use strict;
use Getopt::Std;
use LWP::Simple;
#
-my $default_url = 'http://standards.ieee.org/regauth/oui/iab.txt';
+my $default_url = 'http://standards.ieee.org/develop/regauth/iab/iab.txt';
my $default_filename='ieee-iab.txt';
#
my $usage =
@@ -61,7 +61,7 @@ my $vendor;
#
# Process options
#
-die "$usage\n" unless getopts('hf:v',\%opts);
+die "$usage\n" unless getopts('hf:u:v',\%opts);
if ($opts{h}) {
print "$usage\n";
exit(0);