Nest: Reset export route counter during graceful restart
Counter exp_routes is increased during initial route feed after GR recovery, so it has to start with zero, otherwise BIRD will end with double value in exp_routes.
This commit is contained in:
parent
bd22d7f41d
commit
06edbb67ed
1 changed files with 1 additions and 0 deletions
|
@ -1260,6 +1260,7 @@ proto_want_export_down(struct proto *p)
|
||||||
rt_feed_baby_abort(p);
|
rt_feed_baby_abort(p);
|
||||||
|
|
||||||
p->export_state = ES_DOWN;
|
p->export_state = ES_DOWN;
|
||||||
|
p->stats.exp_routes = 0;
|
||||||
proto_unlink_ahooks(p);
|
proto_unlink_ahooks(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue