From: Ondrej Zajicek (work) Date: Wed, 6 Apr 2016 23:10:24 +0000 (+0200) Subject: Nest: Reset export route counter during graceful restart X-Git-Tag: v1.6.0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06edbb67ed807811654e7fd8f0f9b83766430216;p=thirdparty%2Fbird.git 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. --- diff --git a/nest/proto.c b/nest/proto.c index d04da333c..436377f1b 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -1260,6 +1260,7 @@ proto_want_export_down(struct proto *p) rt_feed_baby_abort(p); p->export_state = ES_DOWN; + p->stats.exp_routes = 0; proto_unlink_ahooks(p); }