mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-25 09:28:50 +00:00
staticd: don't send routes from disabled vrfs to zebra
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
parent
6da3e78ce5
commit
0d9127bca1
@ -386,7 +386,7 @@ extern void static_zebra_route_add(struct static_path *pn, bool install)
|
||||
struct zapi_route api;
|
||||
uint32_t nh_num = 0;
|
||||
|
||||
if (!si->svrf->vrf)
|
||||
if (!si->svrf->vrf || si->svrf->vrf->vrf_id == VRF_UNKNOWN)
|
||||
return;
|
||||
|
||||
p = src_pp = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user