summaryrefslogtreecommitdiffstats
path: root/proto/bgp/packets.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-04-10 14:39:51 +0200
committerMartin Mares <mj@ucw.cz>2000-04-10 14:39:51 +0200
commitae8f5584990ce3bfb5b0bec2f7a1c052e45860df (patch)
tree1ba4bcf4c45c6e011ae0a9b9bbdcf31b7652ac35 /proto/bgp/packets.c
parent6f57dcc07cdf54133bd57aeaec7446f59f2c91cd (diff)
downloadbird-ae8f5584990ce3bfb5b0bec2f7a1c052e45860df.tar
bird-ae8f5584990ce3bfb5b0bec2f7a1c052e45860df.zip
Implemented outgoing attribute cache.
Diffstat (limited to 'proto/bgp/packets.c')
-rw-r--r--proto/bgp/packets.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c
index 2d95f9b..e85d5c0 100644
--- a/proto/bgp/packets.c
+++ b/proto/bgp/packets.c
@@ -337,6 +337,7 @@ bgp_rx_keepalive(struct bgp_conn *conn, byte *pkt, unsigned len)
case BS_OPENCONFIRM:
DBG("BGP: UP!!!\n");
conn->state = BS_ESTABLISHED;
+ bgp_attr_init(conn->bgp);
proto_notify_state(&conn->bgp->p, PS_UP);
break;
case BS_ESTABLISHED: