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:
parent
dc6405d27e
commit
075898dea7
@ -415,6 +415,8 @@ proto_feed_more(void *P)
|
|||||||
struct proto *p = P;
|
struct proto *p = P;
|
||||||
|
|
||||||
DBG("Feeding protocol %s continued\n", p->name);
|
DBG("Feeding protocol %s continued\n", p->name);
|
||||||
|
if (p->core_state != FS_FEEDING)
|
||||||
|
return;
|
||||||
if (rt_feed_baby(p))
|
if (rt_feed_baby(p))
|
||||||
{
|
{
|
||||||
p->core_state = FS_HAPPY;
|
p->core_state = FS_HAPPY;
|
||||||
|
Loading…
Reference in New Issue
Block a user