forked from osmocom/wireshark
Don't use a regexp to compare the name to the blurb, just convert them both to lower case before doing the comparison.
svn path=/trunk/; revision=34324
This commit is contained in:
parent
c39f840519
commit
4dc93213e3
|
@ -992,7 +992,7 @@ sub check_hf_entries($$)
|
||||||
if ($name eq $abbrev) {
|
if ($name eq $abbrev) {
|
||||||
print STDERR "Warning: the abbreviation for field $name matches the field name in $filename\n";
|
print STDERR "Warning: the abbreviation for field $name matches the field name in $filename\n";
|
||||||
}
|
}
|
||||||
if ($name =~ m/$blurb/i) {
|
if (lc($name) eq lc($blurb)) {
|
||||||
print STDERR "Warning: the blurb for field $name ($abbrev) matches the field name in $filename\n";
|
print STDERR "Warning: the blurb for field $name ($abbrev) matches the field name in $filename\n";
|
||||||
}
|
}
|
||||||
if ($name =~ m/"\s+/) {
|
if ($name =~ m/"\s+/) {
|
||||||
|
|
Loading…
Reference in New Issue