summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2014-03-24 12:32:12 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2014-03-24 12:32:12 +0100
commit227af309e55a59f14d1a5a757f17900164bffc97 (patch)
tree39d6e42c256226b92bd12cf9abd46325eb0ee684 /proto
parent6eda3f135f5bab4db456531d25bc3e5f669ec22e (diff)
Fixes some minor issues in graceful restart.
Diffstat (limited to 'proto')
-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 326883dd..ca619f31 100644
--- a/proto/bgp/bgp.c
+++ b/proto/bgp/bgp.c
@@ -927,7 +927,7 @@ static void
bgp_feed_done(struct proto *P)
{
struct bgp_proto *p = (struct bgp_proto *) P;
- if (!p->conn || !p->cf->gr_mode)
+ if (!p->conn || !p->cf->gr_mode || p->p.refeeding)
return;
p->send_end_mark = 1;