diff options
Diffstat (limited to 'bgpd/bgp_session.h')
-rw-r--r-- | bgpd/bgp_session.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/bgpd/bgp_session.h b/bgpd/bgp_session.h index 79b6f1a4..ccc7a28e 100644 --- a/bgpd/bgp_session.h +++ b/bgpd/bgp_session.h @@ -150,8 +150,15 @@ struct bgp_session bool connect ; /* initiate connections */ bool listen ; /* listen for connections */ - bool cap_override ; /* override ... TODO: what ? */ - bool cap_strict ; /* strict... TODO: what ? */ + bool cap_suppress ; /* always set false when session is + enabled. Set to state of connection + when session is established */ + + bool cap_override ; /* assume other end can do all afi/safi + this end has active */ + bool cap_strict ; /* must recognise all capabilities + received and have exact afi/safi + match */ int ttl ; /* TTL to set, if not zero */ unsigned short port ; /* destination port for peer */ |