mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
pbrd: Call vrf_terminate on shutdown
Free up vrf memory on shutdown. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
b0bb8cbfcf
commit
f01205bb96
|
@ -123,4 +123,6 @@ void pbr_vrf_terminate(void)
|
||||||
FOR_ALL_INTERFACES (vrf, ifp)
|
FOR_ALL_INTERFACES (vrf, ifp)
|
||||||
pbr_if_del(ifp);
|
pbr_if_del(ifp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vrf_terminate();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue