summaryrefslogtreecommitdiff
path: root/proto/bgp/packets.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-04-10 12:39:51 +0000
committerMartin Mares <mj@ucw.cz>2000-04-10 12:39:51 +0000
commitae8f5584990ce3bfb5b0bec2f7a1c052e45860df (patch)
tree1ba4bcf4c45c6e011ae0a9b9bbdcf31b7652ac35 /proto/bgp/packets.c
parent6f57dcc07cdf54133bd57aeaec7446f59f2c91cd (diff)
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 2d95f9b7..e85d5c07 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: