diff options
Diffstat (limited to 'staticd/static_zebra.c')
| -rw-r--r-- | staticd/static_zebra.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/staticd/static_zebra.c b/staticd/static_zebra.c index a635cccb09..c4efc14a9d 100644 --- a/staticd/static_zebra.c +++ b/staticd/static_zebra.c @@ -390,7 +390,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;  | 
