aboutsummaryrefslogtreecommitdiffstats
path: root/packet-bgp.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@itojun.org>2000-12-28 05:13:14 +0000
committerJun-ichiro itojun Hagino <itojun@itojun.org>2000-12-28 05:13:14 +0000
commitf69876eece2a86501b309e9aecfdcd69b95dc500 (patch)
tree210fa11f1f1bcf2b3a6961f8c17cfdf27758edae /packet-bgp.c
parent4f5e161fe2b6e6946082f7838a4b84e22a782cbf (diff)
>This patch adds a missing capabilities NOTIFICATION message, and support for
>RFC2385 (Protection of BGP Sessions via the TCP MD5 Signature Option). From: Greg Hankins <gregh@twoguys.org> svn path=/trunk/; revision=2791
Diffstat (limited to 'packet-bgp.c')
-rw-r--r--packet-bgp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/packet-bgp.c b/packet-bgp.c
index bfbc4ed06e..f9591fdc6a 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.29 2000/12/25 05:28:40 itojun Exp $
+ * $Id: packet-bgp.c,v 1.30 2000/12/28 05:13:14 itojun Exp $
*
* Supports:
* RFC1771 A Border Gateway Protocol 4 (BGP-4)
@@ -99,6 +99,7 @@ static const value_string bgpnotify_minor_2[] = {
{ 4, "Unsupported Optional Parameter" },
{ 5, "Authentication Failure" },
{ 6, "Unacceptable Hold Time" },
+ { 7, "Unsupported Capability" },
{ 0, NULL },
};
@@ -131,8 +132,8 @@ static const value_string bgpattr_origin[] = {
static const value_string as_segment_type[] = {
{ 1, "AS_SET" },
{ 2, "AS_SEQUENCE" },
-/* This is wrong according to the RFC... in the Zebra code they say that
- cisco reversed it. Packet traces seem to agree. */
+/* RFC1965 has the wrong values, corrected in */
+/* draft-ietf-idr-bgp-confed-rfc1965bis-01.txt */
{ 4, "AS_CONFED_SET" },
{ 3, "AS_CONFED_SEQUENCE" },
{ 0, NULL },