diff options
| author | Russ White <russ@riw.us> | 2024-01-09 10:11:35 -0500 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-09 10:11:35 -0500 | 
| commit | d5a0a70bbf109d71266d77540876e1d9e6d3dec8 (patch) | |
| tree | 8124c2677d655052431458faa0a9c57e7afb4a16 /sharpd | |
| parent | 92d0242a5172890c0429817ed209dc516912ab27 (diff) | |
| parent | d8477d4bb534e37121c08b358fd923c703540ae0 (diff) | |
Merge pull request #15001 from pguibert6WIND/zebra_nexthop_rework
Zebra nexthop rework
Diffstat (limited to 'sharpd')
| -rw-r--r-- | sharpd/sharp_zebra.c | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/sharpd/sharp_zebra.c b/sharpd/sharp_zebra.c index ff4895189d..cbfa0d1ccc 100644 --- a/sharpd/sharp_zebra.c +++ b/sharpd/sharp_zebra.c @@ -251,8 +251,7 @@ static bool route_add(const struct prefix *p, vrf_id_t vrf_id, uint8_t instance,  	/* Only send via ID if nhgroup has been successfully installed */  	if (nhgid && sharp_nhgroup_id_is_installed(nhgid)) { -		SET_FLAG(api.message, ZAPI_MESSAGE_NHG); -		api.nhgid = nhgid; +		zapi_route_set_nhg_id(&api, &nhgid);  	} else {  		for (ALL_NEXTHOPS_PTR(nhg, nh)) {  			/* Check if we set a VNI label */  | 
