aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rsvp.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-08-20 20:37:01 +0200
committerAnders Broman <a.broman58@gmail.com>2017-08-21 10:41:13 +0000
commit4afbd656b48a6463736cc3aeb1056761b31e0fd9 (patch)
tree76f920171aa1bb39081ccaf41354839a392b83c6 /epan/dissectors/packet-rsvp.c
parentb66bdbd4268566f454d73fa92a46079c180d1e71 (diff)
RSVP: fix length of PSMP ID (2 -> 4)
Ping-Bug: 13977 Change-Id: I162d967d4d38296231d5a16d651f848d600d49bc Reviewed-on: https://code.wireshark.org/review/23151 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-rsvp.c')
-rw-r--r--epan/dissectors/packet-rsvp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rsvp.c b/epan/dissectors/packet-rsvp.c
index 7afbc75262..f899a6841c 100644
--- a/epan/dissectors/packet-rsvp.c
+++ b/epan/dissectors/packet-rsvp.c
@@ -2314,14 +2314,14 @@ summary_session(tvbuff_t *tvb, int offset)
case RSVP_SESSION_TYPE_P2MP_LSP_TUNNEL_IPV4:
return wmem_strdup_printf(wmem_packet_scope(),
"SESSION: IPv4-P2MP LSP TUNNEL, PSMP ID %d, Tunnel ID %d, Ext Tunnel %s. ",
- tvb_get_ntohs(tvb, offset+4),
+ tvb_get_ntohl(tvb, offset+4),
tvb_get_ntohs(tvb, offset+10),
tvb_ip_to_str(tvb, offset+12));
break;
case RSVP_SESSION_TYPE_P2MP_LSP_TUNNEL_IPV6:
return wmem_strdup_printf(wmem_packet_scope(),
"SESSION: IPv6-P2MP LSP TUNNEL, PSMP ID %d, Tunnel ID %d, Ext Tunnel %s. ",
- tvb_get_ntohs(tvb, offset+4),
+ tvb_get_ntohl(tvb, offset+4),
tvb_get_ntohs(tvb, offset+10),
tvb_ip6_to_str(tvb, offset+12));
break;