aboutsummaryrefslogtreecommitdiffstats
path: root/tools/make-manuf
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-04-15 23:04:16 +0000
committerGerald Combs <gerald@wireshark.org>2013-04-15 23:04:16 +0000
commit3954ab4c69c12b682a12f73ac5ee7aea8b8429c8 (patch)
treec15d37458badfa11c5a628acf039ca08ed40f0cc /tools/make-manuf
parente96673d549ad21d04965fbf32d01ffe05e70e795 (diff)
More indentation fixes.
svn path=/trunk/; revision=48864
Diffstat (limited to 'tools/make-manuf')
-rwxr-xr-xtools/make-manuf4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/make-manuf b/tools/make-manuf
index fa71cf8c8c..3f12243349 100755
--- a/tools/make-manuf
+++ b/tools/make-manuf
@@ -125,7 +125,7 @@ foreach $line (split(/\n/, $ieee_list)) {
$iab_base = $iab_tmp;
}
# determine next two bytes
- if (($iab4, $iab5, $manuf) = ($line =~ /^($hp)($hp)$hp-$hp$hp$hp\s+\(base\s16\)\s+(\S.*)$/)) {
+ if (($iab4, $iab5, $manuf) = ($line =~ /^\s*($hp)($hp)$hp-$hp$hp$hp\s+\(base\s16\)\s+(\S.*)$/)) {
$iab = "$iab_base:$iab4:$iab5:00/36";
$iab =~ tr /-/:/; # The IEEE bytes are separated by dashes.
# Ensure IAB is all upper-case
@@ -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 =~ /^($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