0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-10-18 09:58:43 +00:00

Merge commit 'b21955e05800c3ceedfe39eef605da84285296c7' into integrated

This commit is contained in:
Ondrej Zajicek 2014-04-29 12:41:18 +02:00
commit e1242dccaa

View File

@ -743,6 +743,9 @@ bgp_neigh_notify(neighbor *n)
{ {
struct bgp_proto *p = (struct bgp_proto *) n->proto; struct bgp_proto *p = (struct bgp_proto *) n->proto;
if (! (n->flags & NEF_STICKY))
return;
if (n->scope > 0) if (n->scope > 0)
{ {
if ((p->p.proto_state == PS_START) && (p->start_state == BSS_PREPARE)) if ((p->p.proto_state == PS_START) && (p->start_state == BSS_PREPARE))