mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 16:39:33 +00:00
zebra: IIF/OIF are not used in MR RTM_GETROUTE
The multicast routing RTM_GETROUTE command does not use IIF/OIF attributes, and the IPv6 version will refuse them with an error due to being new netlink API and thus using strict validation. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
31071fe357
commit
c6a89c8ef5
@ -2349,9 +2349,6 @@ int kernel_get_ipmr_sg_stats(struct zebra_vrf *zvrf, void *in)
|
||||
|
||||
req.n.nlmsg_type = RTM_GETROUTE;
|
||||
|
||||
nl_attr_put32(&req.n, sizeof(req), RTA_IIF, mroute->ifindex);
|
||||
nl_attr_put32(&req.n, sizeof(req), RTA_OIF, mroute->ifindex);
|
||||
|
||||
if (mroute->family == AF_INET) {
|
||||
req.rtm.rtm_family = RTNL_FAMILY_IPMR;
|
||||
nl_attr_put(&req.n, sizeof(req), RTA_SRC,
|
||||
|
Loading…
Reference in New Issue
Block a user