When checking hf, do a case-insensitive comparison between the name and the blurb.
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 2 Oct 2010 01:34:31 +0000 (01:34 +0000)
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 2 Oct 2010 01:34:31 +0000 (01:34 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34323 f5534014-38df-0310-8fa8-9805f1628bb7

tools/checkAPIs.pl

index 113944acfc3e683c9e267bf0e8336207af98c36e..7b65c26ebc252627d0882c4c312d0a9ccdec1a88 100755 (executable)
@@ -992,8 +992,8 @@ sub check_hf_entries($$)
                if ($name eq $abbrev) {
                        print STDERR "Warning: the abbreviation for field $name matches the field name in $filename\n";
                }
-               if ($name eq $blurb) {
-                       print STDERR "Warning: the blurb for field $name matches the field name in $filename\n";
+               if ($name =~ m/$blurb/i) {
+                       print STDERR "Warning: the blurb for field $name ($abbrev) matches the field name in $filename\n";
                }
                if ($name =~ m/"\s+/) {
                        print STDERR "Warning: leading space in field $name ($abbrev) in $filename\n";