summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_session.h
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_session.h')
-rw-r--r--bgpd/bgp_session.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_session.h b/bgpd/bgp_session.h
index 236f6d0d..82304916 100644
--- a/bgpd/bgp_session.h
+++ b/bgpd/bgp_session.h
@@ -132,7 +132,6 @@ struct bgp_session
* will not touch it thereafter.
*/
bgp_open_state open_send ; /* how to open the session */
- as_t as_expected ; /* who to open with */
bgp_open_state open_recv ; /* set when session Established */
/* The following are set by the Routeing Engine before a session is
@@ -146,6 +145,8 @@ struct bgp_session
int ttl ; /* TTL to set, if not zero */
unsigned short port ; /* destination port for peer */
+
+ as_t as_peer ; /* ASN of the peer */
union sockunion* su_peer ; /* Sockunion address of the peer */
struct zlog* log ; /* where to log to */