]> git.proxmox.com Git - mirror_frr.git/commit - pbrd/pbr_nht.h
pbrd: pbr route maps get addr family of nhgs
authorStephen Worley <sworley@nvidia.com>
Thu, 27 Jan 2022 17:41:49 +0000 (12:41 -0500)
committerStephen Worley <sworley@nvidia.com>
Thu, 27 Jan 2022 17:47:00 +0000 (12:47 -0500)
commit9a7ea213c072a24aa2059e04cb51502a3e956705
tree8d1e367e3baad902f68bcfbc0e3664628ae118d4
parent6766acddbfb966f7a5cb79fd4eebb87d52ad2679
pbrd: pbr route maps get addr family of nhgs

When adding a nhg to a route map, make sure to specify the `family`
of the rm by looking at the contents of the nhg. Installation in the
kernel (for DSCP rules in particular) relies on this being specified in
the netlink message.

Signed-off-by: Wesley Coakley <wcoakley@nvidia.com>
Signed-off-by: Stephen Worley <sworley@nvidia.com>
pbrd/pbr_map.c
pbrd/pbr_nht.c
pbrd/pbr_nht.h
pbrd/pbr_vty.c