mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 08:38:42 +00:00
Fixes silly bug.
This commit is contained in:
parent
11361a1015
commit
a421ec33cb
@ -649,7 +649,7 @@ proto_notify_state(struct proto *p, unsigned ps)
|
|||||||
switch (ps)
|
switch (ps)
|
||||||
{
|
{
|
||||||
case PS_DOWN:
|
case PS_DOWN:
|
||||||
if ((cs = FS_FEEDING) || (cs == FS_HAPPY))
|
if ((cs == FS_FEEDING) || (cs == FS_HAPPY))
|
||||||
proto_schedule_flush(p);
|
proto_schedule_flush(p);
|
||||||
|
|
||||||
neigh_prune(); // FIXME convert neighbors to resource?
|
neigh_prune(); // FIXME convert neighbors to resource?
|
||||||
@ -672,7 +672,7 @@ proto_notify_state(struct proto *p, unsigned ps)
|
|||||||
proto_schedule_feed(p, 1);
|
proto_schedule_feed(p, 1);
|
||||||
break;
|
break;
|
||||||
case PS_STOP:
|
case PS_STOP:
|
||||||
if ((cs = FS_FEEDING) || (cs == FS_HAPPY))
|
if ((cs == FS_FEEDING) || (cs == FS_HAPPY))
|
||||||
proto_schedule_flush(p);
|
proto_schedule_flush(p);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user