From: Yu Watanabe Date: Thu, 4 Feb 2021 14:32:12 +0000 (+0900) Subject: sd-netlink: add RTA_NH_ID attribute support X-Git-Tag: v248-rc1~103^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5b7deb96970e0fdf00120fdc9f46bf4e773bb90;p=thirdparty%2Fsystemd.git sd-netlink: add RTA_NH_ID attribute support --- diff --git a/src/libsystemd/sd-netlink/netlink-types.c b/src/libsystemd/sd-netlink/netlink-types.c index 87ce45b4c92..ec1100894ea 100644 --- a/src/libsystemd/sd-netlink/netlink-types.c +++ b/src/libsystemd/sd-netlink/netlink-types.c @@ -733,14 +733,15 @@ static const NLType rtnl_route_types[] = { [RTA_VIA] = { /* See struct rtvia */ }, [RTA_NEWDST] = { .type = NETLINK_TYPE_U32 }, [RTA_PREF] = { .type = NETLINK_TYPE_U8 }, - [RTA_EXPIRES] = { .type = NETLINK_TYPE_U32 }, [RTA_ENCAP_TYPE] = { .type = NETLINK_TYPE_U16 }, [RTA_ENCAP] = { .type = NETLINK_TYPE_NESTED }, /* Multiple type systems i.e. LWTUNNEL_ENCAP_MPLS/LWTUNNEL_ENCAP_IP/LWTUNNEL_ENCAP_ILA etc... */ + [RTA_EXPIRES] = { .type = NETLINK_TYPE_U32 }, [RTA_UID] = { .type = NETLINK_TYPE_U32 }, [RTA_TTL_PROPAGATE] = { .type = NETLINK_TYPE_U8 }, [RTA_IP_PROTO] = { .type = NETLINK_TYPE_U8 }, [RTA_SPORT] = { .type = NETLINK_TYPE_U16 }, [RTA_DPORT] = { .type = NETLINK_TYPE_U16 }, + [RTA_NH_ID] = { .type = NETLINK_TYPE_U32 }, }; static const NLTypeSystem rtnl_route_type_system = {