mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-03-22 06:17:04 +00:00
Ignore updates if protocol is not UP
This commit is contained in:
parent
b7f7c11ea7
commit
f4d5b4f02c
@ -1290,6 +1290,10 @@ aggregator_rt_notify(struct proto *P, struct channel *src_ch, net *net, rte *new
|
|||||||
struct aggregator_bucket *new_bucket = NULL, *old_bucket = NULL;
|
struct aggregator_bucket *new_bucket = NULL, *old_bucket = NULL;
|
||||||
struct aggregator_route *old_route = NULL;
|
struct aggregator_route *old_route = NULL;
|
||||||
|
|
||||||
|
/* Ignore all updates if protocol is not up */
|
||||||
|
if (p->p.proto_state != PS_UP)
|
||||||
|
return;
|
||||||
|
|
||||||
/* Find the objects for the old route */
|
/* Find the objects for the old route */
|
||||||
if (old)
|
if (old)
|
||||||
old_route = HASH_FIND(p->routes, AGGR_RTE, old);
|
old_route = HASH_FIND(p->routes, AGGR_RTE, old);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user