From f2f1861383c5cf4c07a7c6098d7c0b7134f06d51 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Mon, 4 Feb 2013 18:55:10 +0100 Subject: hwdb: update --- hwdb/ids-update.pl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hwdb/ids-update.pl') diff --git a/hwdb/ids-update.pl b/hwdb/ids-update.pl index 13596b85c3..5782bb51ef 100755 --- a/hwdb/ids-update.pl +++ b/hwdb/ids-update.pl @@ -219,6 +219,7 @@ sub oui { open(IN, "<", "iab.txt"); while (my $line = ) { + $line =~ s/^ +//; $line =~ s/\s+$//; $line =~ m/^([0-9A-F]{2})-([0-9A-F]{2})-([0-9A-F]{2})\s*\(hex\)\s*.+$/; if (defined $1) { @@ -241,6 +242,7 @@ sub oui { open(IN, "<", "oui.txt"); while (my $line = ) { + $line =~ s/^ +//; $line =~ s/\s+$//; $line =~ m/^([0-9A-F]{6})\s*\(base 16\)\s*(.+)$/; if (defined $1) { -- cgit v1.2.3-54-g00ecf