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>
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,