0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-01-02 23:21:54 +00:00

No more problems when protocols gets disabled during feeding.

This commit is contained in:
Martin Mares 2000-05-19 18:03:53 +00:00
parent dc6405d27e
commit 075898dea7

View File

@ -415,6 +415,8 @@ proto_feed_more(void *P)
struct proto *p = P;
DBG("Feeding protocol %s continued\n", p->name);
if (p->core_state != FS_FEEDING)
return;
if (rt_feed_baby(p))
{
p->core_state = FS_HAPPY;