summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpd/session.h')
-rw-r--r--usr.sbin/bgpd/session.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/bgpd/session.h b/usr.sbin/bgpd/session.h
index 1d24f97ab12..eed4b51d372 100644
--- a/usr.sbin/bgpd/session.h
+++ b/usr.sbin/bgpd/session.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.h,v 1.70 2004/11/18 16:30:05 henning Exp $ */
+/* $OpenBSD: session.h,v 1.71 2004/11/18 16:38:05 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -146,10 +146,7 @@ struct peer_stats {
u_int32_t prefix_cnt;
};
-struct peer_capa {
- u_int8_t ann_mp_v4;
- u_int8_t ann_mp_v6;
- u_int8_t ann_refresh;
+struct capabilities {
u_int8_t mp_v4; /* multiprotocol extensions, RFC 2858 */
u_int8_t mp_v6;
u_int8_t refresh; /* route refresh, RFC 2918 */
@@ -158,7 +155,10 @@ struct peer_capa {
struct peer {
struct peer_config conf;
struct peer_stats stats;
- struct peer_capa capa;
+ struct {
+ struct capabilities ann;
+ struct capabilities peer;
+ } capa;
u_int32_t remote_bgpid;
u_int16_t holdtime;
enum session_state state;