aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cigi.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2010-05-26 21:23:45 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2010-05-26 21:23:45 +0000
commit6fda55130d808ac82783453c746a1e7c51efe861 (patch)
treecb80b1473b6e71e513a42dd1f4918fe87725491f /epan/dissectors/packet-cigi.c
parenta541950ca80207eb50ad0cb7cee29a384e76d2b0 (diff)
From Brian Woodard:
User Defined CIGI packets with a packet size greater than 127 bytes are displayed as Malformed. Instead, treat size as unsigned integers. svn path=/trunk/; revision=32983
Diffstat (limited to 'epan/dissectors/packet-cigi.c')
-rw-r--r--epan/dissectors/packet-cigi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-cigi.c b/epan/dissectors/packet-cigi.c
index 1068d69a41..abb5ff93b0 100644
--- a/epan/dissectors/packet-cigi.c
+++ b/epan/dissectors/packet-cigi.c
@@ -2764,7 +2764,7 @@ cigi_add_tree(tvbuff_t *tvb, proto_tree *cigi_tree)
static gint
cigi_add_data(tvbuff_t *tvb, proto_tree *tree, gint offset)
{
- gint8 packet_size = 0;
+ guint8 packet_size = 0;
packet_size = tvb_get_guint8(tvb, offset-1);