summaryrefslogtreecommitdiff
path: root/packet-q2931.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-05-27 07:18:08 +0000
committerGuy Harris <guy@alum.mit.edu>2001-05-27 07:18:08 +0000
commit34ff64ae9c1641b6af0eff785de60063930dc8c0 (patch)
tree5a37128449afa679ab54ad79caa7a1f33d0b2dbb /packet-q2931.c
parentdb6ad22e40780db5b8c11daceae956164021aec4 (diff)
downloadwireshark-34ff64ae9c1641b6af0eff785de60063930dc8c0.tar.gz
The Q.2931 dissector is only called through a handle, so it doesn't need
to check whether the protocol is enabled and doesn't need to set "pinfo->current_proto". svn path=/trunk/; revision=3461
Diffstat (limited to 'packet-q2931.c')
-rw-r--r--packet-q2931.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/packet-q2931.c b/packet-q2931.c
index 7feff42a1a..6538890bc0 100644
--- a/packet-q2931.c
+++ b/packet-q2931.c
@@ -2,7 +2,7 @@
* Routines for Q.2931 frame disassembly
* Guy Harris <guy@alum.mit.edu>
*
- * $Id: packet-q2931.c,v 1.16 2001/05/27 07:15:26 guy Exp $
+ * $Id: packet-q2931.c,v 1.17 2001/05/27 07:18:08 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1989,10 +1989,6 @@ dissect_q2931(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
int codeset;
gboolean non_locking_shift;
- CHECK_DISPLAY_AS_DATA(proto_q2931, tvb, pinfo, tree);
-
- pinfo->current_proto = "Q.2931";
-
if (check_col(pinfo->fd, COL_PROTOCOL))
col_set_str(pinfo->fd, COL_PROTOCOL, "Q.2931");