Make checkAPIs.pl a little more discerning when looking for too many proto_tree_add_t...
authorMichael Mann <mmann78@netscape.net>
Fri, 5 Jul 2013 14:22:35 +0000 (14:22 -0000)
committerMichael Mann <mmann78@netscape.net>
Fri, 5 Jul 2013 14:22:35 +0000 (14:22 -0000)
commite2cfb1f173007c003aa6920e4ac6b843965e63d0
treed3775ab866909c40cd0082123a9ebc6bf3e64572
parent28bb3a559135fa50b74b22ce9fa0ea501151dce0
Make checkAPIs.pl a little more discerning when looking for too many proto_tree_add_text()s. I believe the intent was to ignore "small" dissectors that didn't have enough fields to qualify, but the previous logic ignored dissectors that were (almost) all proto_tree_add_text and no proto_tree_add_xxx.
I'm flexible on the definition of "small" (20 "fields"), but I think checkAPIs should flag the "all proto_tree_add_text" dissectors.

svn path=/trunk/; revision=50385
tools/checkAPIs.pl