diff options
author | AndersBroman <anders.broman@ericsson.com> | 2016-10-07 16:46:56 +0200 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2016-10-07 19:37:59 +0000 |
commit | 41fe95fd3e865638db955d95a2e53fd746d5f775 (patch) | |
tree | e183c1543ff07444d91fff0ea5b9ecd5f364382c /epan/dissectors/packet-megaco.c | |
parent | 22d8142ce77fce18f87b1a0242f86bd198623d2f (diff) |
[MEGACO] Add long name for gm/rsb
Change-Id: I72efa2210f03477d7e04b2177b751b29cf827eb0
Reviewed-on: https://code.wireshark.org/review/18116
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-megaco.c')
-rw-r--r-- | epan/dissectors/packet-megaco.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/epan/dissectors/packet-megaco.c b/epan/dissectors/packet-megaco.c index 00c3d05030..62886c2ee0 100644 --- a/epan/dissectors/packet-megaco.c +++ b/epan/dissectors/packet-megaco.c @@ -113,6 +113,7 @@ static int hf_megaco_gm_spf = -1; static int hf_megaco_gm_spr = -1; static int hf_megaco_gm_esas = -1; static int hf_megaco_tman_pol = -1; +static int hf_megaco_gm_rsb = -1; static int hf_megaco_tman_sdr = -1; static int hf_megaco_tman_mbs = -1; static int hf_megaco_tman_pdr = -1; @@ -3268,6 +3269,12 @@ dissect_megaco_LocalControldescriptor(tvbuff_t *tvb, proto_tree *megaco_mediades tvb_help_offset, tvb_offset-tvb_help_offset, tvb_format_text(tvb, tvb_current_offset, tokenlen)); tvb_current_offset = megaco_tvb_skip_wsp(tvb, tvb_offset +1); break; + case MEGACO_GM_RSB: + proto_tree_add_string(megaco_LocalControl_tree, hf_megaco_gm_rsb, tvb, + tvb_help_offset, tvb_offset - tvb_help_offset, tvb_format_text(tvb, tvb_current_offset, tokenlen)); + tvb_current_offset = megaco_tvb_skip_wsp(tvb, tvb_offset + 1); + break; + break; case MEGACO_TMAN_POL: proto_tree_add_string(megaco_LocalControl_tree, hf_megaco_tman_pol, tvb, tvb_help_offset, tvb_offset-tvb_help_offset, tvb_format_text(tvb, tvb_current_offset, tokenlen)); @@ -3649,6 +3656,9 @@ proto_register_megaco(void) { &hf_megaco_tman_pol, { "Policing", "megaco.tman_pol", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, + { &hf_megaco_gm_rsb, + { "RTCP Allocation Specific Behaviour", "megaco.gm_rsb", FT_STRING, BASE_NONE, NULL, 0x0, + NULL, HFILL }}, { &hf_megaco_tman_sdr, { "Sustainable Data Rate", "megaco.tman_sdr", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, |