aboutsummaryrefslogtreecommitdiffstats
path: root/packet-bgp.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-05-30 07:48:23 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-05-30 07:48:23 +0000
commitff0c73d25187b94bea184444693fd896d48766c5 (patch)
tree86fce4647ad2bb0056edb0ad2ffbe8f4fe560858 /packet-bgp.c
parent411ce8b96e88ca681aaabe01de8a3b3c9fd4b872 (diff)
Get rid of some unnecessary settings of "pinfo->current_proto" - if the
dissector is called only through a handle or dissector table, the code that handles those calls sets it for you. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3480 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-bgp.c')
-rw-r--r--packet-bgp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/packet-bgp.c b/packet-bgp.c
index 6966735733..0fc3c7fb78 100644
--- a/packet-bgp.c
+++ b/packet-bgp.c
@@ -2,7 +2,7 @@
* Routines for BGP packet dissection.
* Copyright 1999, Jun-ichiro itojun Hagino <itojun@itojun.org>
*
- * $Id: packet-bgp.c,v 1.36 2001/05/16 18:52:35 guy Exp $
+ * $Id: packet-bgp.c,v 1.37 2001/05/30 07:48:23 guy Exp $
*
* Supports:
* RFC1771 A Border Gateway Protocol 4 (BGP-4)
@@ -1336,7 +1336,6 @@ dissect_bgp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
int hlen; /* BGP header length */
char *typ; /* BGP message type */
- pinfo->current_proto = "BGP";
if (check_col(pinfo->fd, COL_PROTOCOL))
col_set_str(pinfo->fd, COL_PROTOCOL, "BGP");
if (check_col(pinfo->fd, COL_INFO))