summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.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/session.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/session.h')
-rw-r--r--usr.sbin/bgpd/session.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/session.h b/usr.sbin/bgpd/session.h
index e1dc302c2cb..fac94d5966c 100644
--- a/usr.sbin/bgpd/session.h
+++ b/usr.sbin/bgpd/session.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.h,v 1.85 2006/07/28 15:04:34 henning Exp $ */
+/* $OpenBSD: session.h,v 1.86 2006/08/27 16:11:05 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -103,7 +103,8 @@ enum opt_params {
enum capa_codes {
CAPA_NONE,
CAPA_MP,
- CAPA_REFRESH
+ CAPA_REFRESH,
+ CAPA_RESTART = 64
};
struct bgp_msg {