mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
RIP: actually remove the interface structures on shutdown
This avoids a spurious route update fail when protocol shutdown collides with an incoming RIP packet.
This commit is contained in:
parent
21b75c472d
commit
dabf2f5625
@ -1243,8 +1243,8 @@ rip_shutdown(struct proto *P)
|
||||
TRACE(D_EVENTS, "Shutdown requested");
|
||||
|
||||
struct rip_iface *ifa;
|
||||
WALK_LIST(ifa, p->iface_list)
|
||||
rip_iface_stop(ifa);
|
||||
WALK_LIST_FIRST(ifa, p->iface_list)
|
||||
rip_remove_iface(p, ifa);
|
||||
|
||||
return PS_DOWN;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user