diff options
Diffstat (limited to 'packet-quake.c')
-rw-r--r-- | packet-quake.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/packet-quake.c b/packet-quake.c index 0e7ec25b18..75c839cf26 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.13 2001/01/22 08:03:45 guy Exp $ + * $Id: packet-quake.c,v 1.14 2001/04/15 09:05:17 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -516,6 +516,15 @@ dissect_quake(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) guint rest_length; tvbuff_t *next_tvb; + /* + * XXX - this is a conversation dissector, and the code to + * call a conversation dissector doesn't check for disabled + * protocols or set "pinfo->current_proto". + */ + CHECK_DISPLAY_AS_DATA(proto_quake, tvb, pinfo, tree); + + pinfo->current_proto = "QUAKE"; + if (check_col(pinfo->fd, COL_PROTOCOL)) col_set_str(pinfo->fd, COL_PROTOCOL, "QUAKE"); if (check_col(pinfo->fd, COL_INFO)) |