summaryrefslogtreecommitdiff
path: root/proto/bgp
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-01-26 21:16:19 +0100
committerMaria Matejka <mq@ucw.cz>2022-02-03 10:30:33 +0100
commit127862f626f39d52b758084931e0fbdc91db745c (patch)
tree6047220bdce8262b52a80305750d2f17cf4759ff /proto/bgp
parent0f6ea957541dc59b15f4e8a42e9ed006345a2a70 (diff)
Asynchronous neighbor notifications fixes
Diffstat (limited to 'proto/bgp')
-rw-r--r--proto/bgp/bgp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c
index b825f778..7e803f64 100644
--- a/proto/bgp/bgp.c
+++ b/proto/bgp/bgp.c
@@ -1541,7 +1541,7 @@ bgp_start_locked(struct object_lock *lock)
return;
}
- neighbor *n = neigh_find(&p->p, p->remote_ip, cf->iface, NEF_STICKY);
+ neighbor *n = neigh_find(&p->p, p->remote_ip, cf->iface, NEF_STICKY | NEF_NOTIFY_MAIN);
if (!n)
{
log(L_ERR "%s: Invalid remote address %I%J", p->p.name, p->remote_ip, cf->iface);