diff options
Diffstat (limited to 'packet-quake.c')
-rw-r--r-- | packet-quake.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-quake.c b/packet-quake.c index ceec72b180..e337f4d77c 100644 --- a/packet-quake.c +++ b/packet-quake.c @@ -4,7 +4,7 @@ * Uwe Girlich <uwe@planetquake.com> * http://www.idsoftware.com/q1source/q1source.zip * - * $Id: packet-quake.c,v 1.3 2000/08/07 03:21:02 guy Exp $ + * $Id: packet-quake.c,v 1.4 2000/08/13 14:08:36 deniel Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -543,6 +543,8 @@ dissect_quake(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) guint rest_length; tvbuff_t *next_tvb; + CHECK_DISPLAY_AS_DATA(proto_quake, tvb, pinfo, tree); + if (!tvb_bytes_exist(tvb, 0, 4)) return; length = tvb_get_ntohl(tvb, 0); |