aboutsummaryrefslogtreecommitdiffstats
path: root/tools/make-manuf
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-04-15 23:16:20 +0000
committerGerald Combs <gerald@wireshark.org>2013-04-15 23:16:20 +0000
commitd75dbf9aff92f777c584a48413dd23f6844395e4 (patch)
tree6923ba7e518f96fbe8bacc55aeb2006a99d2e09f /tools/make-manuf
parent3954ab4c69c12b682a12f73ac5ee7aea8b8429c8 (diff)
Fix a typo.
svn path=/trunk/; revision=48865
Diffstat (limited to 'tools/make-manuf')
-rwxr-xr-xtools/make-manuf2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/make-manuf b/tools/make-manuf
index 3f12243349..63194e4455 100755
--- a/tools/make-manuf
+++ b/tools/make-manuf
@@ -150,7 +150,7 @@ foreach $line (split(/\n/, $ieee_list)) {
$oui36_base = $oui36_tmp;
}
# determine next two bytes
- if (($oui36_4, $oui36_5, $manuf) = ($line =~ /\s*^($hp)($hp)$hp-$hp$hp$hp\s+\(base\s16\)\s+(\S.*)$/)) {
+ if (($oui36_4, $oui36_5, $manuf) = ($line =~ /^\s*($hp)($hp)$hp-$hp$hp$hp\s+\(base\s16\)\s+(\S.*)$/)) {
$oui36 = "$oui36_base:$oui36_4:$oui36_5:00/36";
$oui36 =~ tr /-/:/; # The IEEE bytes are separated by dashes.
# Ensure OUI-36 is all upper-case