summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2006-08-27 16:11:06 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2006-08-27 16:11:06 +0000
commit99348aefaa5e0101b26e62b555e715736475d570 (patch)
treee4dd135e6b0a0ac6a571f127d6304cf236132afd /usr.sbin/bgpd/bgpd.h
parentfe18a2e8e6f39716801d4beb848ef91b162dcda3 (diff)
add code to announce the restart capability according to
draft-ietf-idr-restart. Do not announce actual restart capabilities, so that this only serves as indicator that we are capable of sending and receiving the End-of-RIB marker. leave disabled for now, since the code to actually send the EoR-marker is currently ifdef'd out (to be fixed soon) and we wanna play safe for 4.0. and juniper doesn't support that capability (which is not a problem per se) and at the same time has its capability negotiation code completely fucked up, if a capability is rejected they don't indicate WHICH capability they reject (which makes that a problem, tho still a small one and we cope). claudio ok
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r--usr.sbin/bgpd/bgpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index b860d8390cd..fff515b8a79 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.207 2006/08/27 13:40:21 henning Exp $ */
+/* $OpenBSD: bgpd.h,v 1.208 2006/08/27 16:11:04 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -213,6 +213,7 @@ struct capabilities {
u_int8_t mp_v4; /* multiprotocol extensions, RFC 2858 */
u_int8_t mp_v6;
u_int8_t refresh; /* route refresh, RFC 2918 */
+ u_int8_t restart; /* draft-ietf-idr-restart */
};
struct peer_config {