Add some simple sanity checking of BVLC packets, so if you're unlucky
authorGuy Harris <guy@alum.mit.edu>
Sat, 29 Apr 2006 18:54:54 +0000 (18:54 -0000)
committerGuy Harris <guy@alum.mit.edu>
Sat, 29 Apr 2006 18:54:54 +0000 (18:54 -0000)
commitfe6af4d65d22bb6280002afa2029db69768a55a3
tree1a999929c86eb4ac8b2d25e5ba87b74fffb810e4
parent25e8c37489cf6503e7ce8c436f19f54bf7a5027a
Add some simple sanity checking of BVLC packets, so if you're unlucky
enough to have a non-BVLC packet from or to port 47808, we're likely to
reject it and let another dissector try it.  Fixes bug 855 (in which an
MS Messenger packet was unlucky enough to have come from that port).

Add value_string tables to some fields, and just use
proto_tree_add_uint() to add them to the protocol tree, rather than
generating our own text for them.

svn path=/trunk/; revision=18033
epan/dissectors/packet-bvlc.c