mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 20:32:18 +00:00
Adding the initialization check in ospfv3_clean()
This is to avoid a crash triggered by process termination when ospf6d daemon is running and 'router ospf6' config has not been done yet. Signed-off-by: Vipin Kumar <vipin@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
This commit is contained in:
parent
0f23bb679b
commit
3fd6abdd13
@ -1898,6 +1898,8 @@ ospf6_init (void)
|
||||
void
|
||||
ospf6_clean (void)
|
||||
{
|
||||
if (!ospf6)
|
||||
return;
|
||||
if (ospf6->route_table)
|
||||
ospf6_route_remove_all (ospf6->route_table);
|
||||
if (ospf6->brouter_table)
|
||||
|
Loading…
Reference in New Issue
Block a user