aboutsummaryrefslogtreecommitdiffstats
path: root/packet-bgp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-05-30 07:48:23 +0000
committerGuy Harris <guy@alum.mit.edu>2001-05-30 07:48:23 +0000
commit31199a53a554a9d23a973456c82c7656a6eca15c (patch)
tree86fce4647ad2bb0056edb0ad2ffbe8f4fe560858 /packet-bgp.c
parent9fe2133a20f5db29e507020c2bcc1b80fa35539a (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. svn path=/trunk/; revision=3480
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))