mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-03 07:31:54 +00:00
Babel: Remove interfaces on shutdown
This avoids calling interface timer between Babel going PS_DOWN and finally cleaning up the resource pool.
This commit is contained in:
parent
5cdc1b679c
commit
860fbf0d65
@ -2550,8 +2550,11 @@ babel_shutdown(struct proto *P)
|
|||||||
|
|
||||||
TRACE(D_EVENTS, "Shutdown requested");
|
TRACE(D_EVENTS, "Shutdown requested");
|
||||||
|
|
||||||
WALK_LIST(ifa, p->interfaces)
|
WALK_LIST_FIRST(ifa, p->interfaces)
|
||||||
|
{
|
||||||
babel_iface_shutdown(ifa);
|
babel_iface_shutdown(ifa);
|
||||||
|
babel_remove_iface(p, ifa);
|
||||||
|
}
|
||||||
|
|
||||||
return PS_DOWN;
|
return PS_DOWN;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user