diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2015-09-22 17:48:18 +0200 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2015-09-23 06:56:07 +0000 |
commit | 02904e206f9f080ba1cbc7d5b4b8daff8388cfb7 (patch) | |
tree | 62e0a5094f7746be77112d1a99c72d57e43e0737 | |
parent | 0dd2a0a3efa658758eab59a8704c752c94cac4c0 (diff) | |
download | wireshark-02904e206f9f080ba1cbc7d5b4b8daff8388cfb7.tar.gz |
RLC: fix invalid RLC AM control type expert info
Change-Id: I43512e24a0f506b65521b7bc53acf00be58d6c2b
Reviewed-on: https://code.wireshark.org/review/10608
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
(cherry picked from commit eefae1bef66b08c9b7ea751f9c5bc7528234b0cf)
Reviewed-on: https://code.wireshark.org/review/10620
-rw-r--r-- | epan/dissectors/packet-rlc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rlc.c b/epan/dissectors/packet-rlc.c index 993210b6cf..ab79333d0f 100644 --- a/epan/dissectors/packet-rlc.c +++ b/epan/dissectors/packet-rlc.c @@ -2153,7 +2153,7 @@ dissect_rlc_control(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) col_append_fstr(pinfo->cinfo, COL_INFO, " RSN=%u HFN=%u", (guint16)rsn, (guint32)hfn); break; default: - expert_add_info(pinfo, ti, &ei_rlc_ctrl_type); + expert_add_info_format(pinfo, ti, &ei_rlc_ctrl_type, "Invalid RLC AM control type %u", type); return; /* invalid */ } } @@ -2949,7 +2949,7 @@ proto_register_rlc(void) { &ei_rlc_sufi_cw, { "rlc.sufi.cw.invalid", PI_PROTOCOL, PI_WARN, "Invalid last codeword", EXPFILL }}, { &ei_rlc_sufi_type, { "rlc.sufi.type.invalid", PI_PROTOCOL, PI_WARN, "Invalid SUFI type", EXPFILL }}, { &ei_rlc_reserved_bits_not_zero, { "rlc.reserved_bits_not_zero", PI_PROTOCOL, PI_WARN, "reserved bits not zero", EXPFILL }}, - { &ei_rlc_ctrl_type, { "rlc.ctrl_pdu_type.invalid", PI_PROTOCOL, PI_WARN, "Invalid RLC AM control type %u", EXPFILL }}, + { &ei_rlc_ctrl_type, { "rlc.ctrl_pdu_type.invalid", PI_PROTOCOL, PI_WARN, "Invalid RLC AM control type", EXPFILL }}, { &ei_rlc_he, { "rlc.he.invalid", PI_PROTOCOL, PI_WARN, "Incorrect HE value", EXPFILL }}, }; |