diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-05-27 07:18:08 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-05-27 07:18:08 +0000 |
commit | b188881da1592d08e3a75ae72de90c4c2fbcc93f (patch) | |
tree | 5a37128449afa679ab54ad79caa7a1f33d0b2dbb /packet-q2931.c | |
parent | b0b6b2dce78b206ad16065926279807a1e8b8128 (diff) |
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".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3461 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-q2931.c')
-rw-r--r-- | packet-q2931.c | 6 |
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"); |