diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-12-08 14:03:41 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-12-08 14:03:41 +0000 |
commit | 3035ded84a27dbb93640b134ee299e40bdfab886 (patch) | |
tree | 6dd34ebd4900befc84450301a8a4f68638a58aa9 /usr.sbin/bgpd/session.h | |
parent | 492b87f62fba2d4de8dafac43bca486a2220fcde (diff) |
Big AID change part two. This changes the mp capability into an array of
flags. This makes a lot of code much easier since the comparison is now
trivial. Additionally calculate the negotiated capabilities for a session
in the SE and pass that and only that to the RDE. This makes the decisions
in the RDE a lot easier. OK henning@
Diffstat (limited to 'usr.sbin/bgpd/session.h')
-rw-r--r-- | usr.sbin/bgpd/session.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/session.h b/usr.sbin/bgpd/session.h index 11471e5dde3..5cbdbdce91b 100644 --- a/usr.sbin/bgpd/session.h +++ b/usr.sbin/bgpd/session.h @@ -1,4 +1,4 @@ -/* $OpenBSD: session.h,v 1.102 2009/09/02 08:06:42 claudio Exp $ */ +/* $OpenBSD: session.h,v 1.103 2009/12/08 14:03:40 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -189,6 +189,7 @@ struct peer { struct { struct capabilities ann; struct capabilities peer; + struct capabilities neg; } capa; struct { struct bgpd_addr local_addr; |