When installing a nexthop-group the recent commit:
commit
0be6e7d75dbbbfae33c3b51ae7c160d35b228915
reversed the logic for testing if adding data to
the netlink message succeeded and we thought we did
not thus not creating the nexthop group.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* other ids.
*/
if (dplane_ctx_get_nhe_nh_grp_count(ctx)) {
- if (_netlink_nexthop_build_group(
+ if (!_netlink_nexthop_build_group(
&req->n, buflen, id,
dplane_ctx_get_nhe_nh_grp(ctx),
dplane_ctx_get_nhe_nh_grp_count(ctx)))