From 80d44af6b22dd08f59281bf3531fb870bfc96393 Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Sat, 13 Dec 2014 17:27:28 +0100 Subject: dissector_try_uint(_new) and dissector_try_string now return the number of bytes consumed Change-Id: I528ad736caee1f29e2f0abfc0afcca6587d74eca Reviewed-on: https://code.wireshark.org/review/5743 Reviewed-by: Pascal Quantin --- epan/dissectors/packet-mpls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-mpls.c') diff --git a/epan/dissectors/packet-mpls.c b/epan/dissectors/packet-mpls.c index ab9adce9ab..a2d83ece64 100644 --- a/epan/dissectors/packet-mpls.c +++ b/epan/dissectors/packet-mpls.c @@ -480,7 +480,7 @@ dissect_mpls(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) guint8 bos; guint8 ttl; tvbuff_t *next_tvb; - gboolean found; + int found; guint8 first_nibble; struct mplsinfo mplsinfo; -- cgit v1.2.1