aboutsummaryrefslogtreecommitdiffstats
path: root/packet-bgp.h
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2002-10-15 03:47:47 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2002-10-15 03:47:47 +0000
commit4f711a6bae6d5b7dc6e2d7c25f949ca421a41257 (patch)
treef1b427ffda0b3f7e0ad1c197e91e8f9f25ce97a7 /packet-bgp.h
parentb5d80ff489eb886e35e166519afb328ec976afbf (diff)
Fix more typing issues. Pull the marker, length, and type individually
instead of copying them into a struct. Remove the "bgp" struct, as it is no longer used. Gracefuly (more than before, at least) handle a zero packet length. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6421 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-bgp.h')
-rw-r--r--packet-bgp.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/packet-bgp.h b/packet-bgp.h
index 872f70c3e4..3d6198b15b 100644
--- a/packet-bgp.h
+++ b/packet-bgp.h
@@ -1,7 +1,7 @@
/* packet-bgp.c
* Definitions for BGP packet disassembly structures and routine
*
- * $Id: packet-bgp.h,v 1.20 2002/08/28 21:00:08 jmayer Exp $
+ * $Id: packet-bgp.h,v 1.21 2002/10/15 03:47:47 gerald Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -43,13 +43,6 @@
#define BGP_ROUTE_REFRESH 5
#define BGP_ROUTE_REFRESH_CISCO 0x80
-/* BGP header */
-struct bgp {
- guint8 bgp_marker[BGP_MARKER_SIZE];
- guint16 bgp_len;
- guint8 bgp_type;
-};
-
/* BGP OPEN message */
struct bgp_open {
guint8 bgpo_marker[BGP_MARKER_SIZE];