aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2017-05-11 22:54:47 -0400
committerMichael Mann <mmann78@netscape.net>2017-05-12 03:05:59 +0000
commitd2e7e0b5196b166d96c4eaa154d2a06e71dcee1f (patch)
tree0b39241a882dd842030732ca6d00b0bef1c8c0c6
parent635ae3d147ab053deda41ae0e37341b75d2b21e0 (diff)
Allow proto_register_protocol_in_name_only values to be used as valid hf_ field prefixes.
Change-Id: Ic9998d1f8c6719c7cba78966691295ff9ffbc12a Reviewed-on: https://code.wireshark.org/review/21612 Reviewed-by: Michael Mann <mmann78@netscape.net>
-rwxr-xr-xtools/checkfiltername.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/checkfiltername.pl b/tools/checkfiltername.pl
index f17346831a..509969dda3 100755
--- a/tools/checkfiltername.pl
+++ b/tools/checkfiltername.pl
@@ -599,7 +599,8 @@ while (<>) {
}
until ($more_tokens == 0) {
- if ($restofline =~ /proto_register_protocol\s*\((.*)/) {
+ if (($restofline =~ /proto_register_protocol\s*\((.*)/) ||
+ ($restofline =~ /proto_register_protocol_in_name_only\s*\((.*)/)) {
$noregprotocol = 0;
$restofline = $1;
$state = "s_proto_start";