aboutsummaryrefslogtreecommitdiffstats
path: root/tools/checkhf.pl
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-02-10 18:40:54 +0000
committerBill Meier <wmeier@newsguy.com>2013-02-10 18:40:54 +0000
commit19ffe7eb4ca47c378ff1df0df3e5025df6d14f35 (patch)
treec6d98a000269258a7e7e5224cbe38dd4fb8f2db4 /tools/checkhf.pl
parent3f70cb4406fe00c577db66fdb97d4e932f3f5d2b (diff)
Update a comment; tweak a RegEx.
svn path=/trunk/; revision=47612
Diffstat (limited to 'tools/checkhf.pl')
-rwxr-xr-xtools/checkhf.pl7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/checkhf.pl b/tools/checkhf.pl
index bb12e8f463..5de607cfe3 100755
--- a/tools/checkhf.pl
+++ b/tools/checkhf.pl
@@ -54,11 +54,11 @@
## NOTE: This tool currently generates false positives!
##
## The "NO ARRAY" messages - if accurate - points to an error that will
-## cause (t|wire)shark to terminate with an assertion when a packet containing
+## cause (t|wire)shark to report a DISSECTOR_BUG when a packet containing
## this particular element is being dissected.
##
## The "Unused entry" message indicates the opposite: We define an entry but
-## never use it in a proto_...add... function.
+## never use it (e.g., in a proto_...add... function).
## ------------------------------------------------------------------------------------
# ------------------------------------------------------------------------------------
@@ -372,8 +372,7 @@ sub find_remove_hf_defs {
my $p1_regex = qr{
^
\s*
- (static)?
- \s+
+ (static \s+)?
g?int
\s+
(hf_[a-zA-Z0-9_]+) # hf_..