From 29a4a0789acf6d1df801c8b19b19292b1ba7b3aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Fri, 18 Dec 2009 15:13:44 +0000 Subject: [PATCH] Added expert info group PI_PROTOCOL. svn path=/trunk/; revision=31308 --- epan/expert.c | 1 + epan/proto.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/epan/expert.c b/epan/expert.c index f6142a82f3..636b513d5c 100644 --- a/epan/expert.c +++ b/epan/expert.c @@ -55,6 +55,7 @@ const value_string expert_group_vals[] = { { PI_REASSEMBLE, "Reassemble" }, { PI_MALFORMED, "Malformed" }, { PI_DEBUG, "Debug" }, + { PI_PROTOCOL, "Protocol" }, /* { PI_SECURITY, "Security" },*/ { 0, NULL } }; diff --git a/epan/proto.h b/epan/proto.h index c0e146157d..2aedbab599 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -322,8 +322,10 @@ typedef proto_node proto_item; #define PI_MALFORMED 0x00020000 /** A generic debugging message (shouldn't remain in production code!), usually PI_ERROR */ #define PI_DEBUG 0x00040000 +/** The protocol field violates a protocol specification, usually PI_WARN */ +#define PI_PROTOCOL 0x00080000 /* The protocol field indicates a security probem (e.g. unsecure implementation) */ -/*#define PI_SECURITY 0x00080000*/ +/*#define PI_SECURITY 0x00100000*/ /* add more, see http://wiki.wireshark.org/Development/ExpertInfo */