Commit e48dae3e authored by Martin Mareš's avatar Martin Mareš
Browse files

Stop feeding the protocol if it suddenly shuts down.

parent 9ff8f334
......@@ -209,6 +209,8 @@ rt_feed_baby(struct proto *p)
ea_list *tmpa = q->make_tmp_attrs ? q->make_tmp_attrs(e, rte_update_pool) : NULL;
do_rte_announce(h, n, e, NULL, tmpa, ipa_classify(n->n.prefix));
if (p->core_state != FS_FEEDING)
return; /* In the meantime, the protocol fell down. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment