aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-lnet.c
diff options
context:
space:
mode:
authorMartin Mathieson <martin.mathieson@keysight.com>2021-03-06 13:07:51 +0000
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-03-09 19:14:29 +0000
commit2753c4c27e862d4d1eebd377232dd49662cf8667 (patch)
tree36c254b408629e52aa19067cff1a9034449622dc /epan/dissectors/packet-lnet.c
parentce786ed26528f8f39f28608afffab132909da6eb (diff)
Expert info: check group and severity
Add a check for valid group and severity values, and fix violations foud.
Diffstat (limited to 'epan/dissectors/packet-lnet.c')
-rw-r--r--epan/dissectors/packet-lnet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-lnet.c b/epan/dissectors/packet-lnet.c
index 319c40e6c9..a52f18050d 100644
--- a/epan/dissectors/packet-lnet.c
+++ b/epan/dissectors/packet-lnet.c
@@ -1041,9 +1041,9 @@ proto_register_lnet(void)
expert_module_t *expert_lnet;
static ei_register_info ei[] = {
{ &ei_lnet_buflen,
- { "lnet.bad_buflen", PI_ERROR, PI_MALFORMED, "Buffer length mis-match", EXPFILL } },
+ { "lnet.bad_buflen", PI_MALFORMED, PI_ERROR, "Buffer length mis-match", EXPFILL } },
{ &ei_lnet_type,
- { "lnet.bad_type", PI_ERROR, PI_PROTOCOL, "LNET Type mis-match", EXPFILL } }
+ { "lnet.bad_type", PI_PROTOCOL, PI_ERROR, "LNET Type mis-match", EXPFILL } }
};
proto_lnet = proto_register_protocol("Lustre Network", "LNet", "lnet");