aboutsummaryrefslogtreecommitdiffstats
path: root/epan/expert.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2014-07-15 23:04:41 -0400
committerMichael Mann <mmann78@netscape.net>2014-07-26 01:03:07 +0000
commit507d07eda6ad562d4567cf0ee83aa9b03997beca (patch)
treec4b9e511807c1aa39578e0d31bbb6d60f80cf62b /epan/expert.h
parent251ee715a551543b32e6cc98f35e506fb602b04d (diff)
Allow severity levels of expert info items to be configured by the user.
UAT was the easiest way to do this and I like the "file format" of the data, but the presentation doesn't seem that great. Bug:10180 Change-Id: I7e6bc9e148bc47585a0a7eb8f96900a5c374e673 Reviewed-on: https://code.wireshark.org/review/3082 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/expert.h')
-rw-r--r--epan/expert.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/expert.h b/epan/expert.h
index 095b472deb..f903295520 100644
--- a/epan/expert.h
+++ b/epan/expert.h
@@ -65,11 +65,13 @@ typedef struct expert_field_info {
/* ------- set by register routines (prefilled by EXPFILL macro, see below) ------ */
int id;
const gchar *protocol;
+ int orig_severity; /* Matches severity when registered, used to restore original severity
+ * if UAT severity entry is removed */
hf_register_info hf_info;
} expert_field_info;
-#define EXPFILL 0, NULL, \
+#define EXPFILL 0, NULL, 0, \
{0, {"Expert Info", NULL, FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL}}
typedef struct ei_register_info {