From 202aa15976532d6409946886928fef144179c4ff Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 18 Feb 2019 13:01:56 +0100 Subject: [PATCH] netlink: fix routing-policy-rule integer type for FRA_TUN_ID FRA_TUN_ID is a 64 big endian integer. Fix the policy. FRA_TUN_ID is unused by networkd, hence I think this bug has no actual consequences. Fixes: bce67bbee359eec19e6778619b6651100a1c1477 --- src/libsystemd/sd-netlink/netlink-types.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsystemd/sd-netlink/netlink-types.c b/src/libsystemd/sd-netlink/netlink-types.c index 3fec237..5ef2ba3 100644 --- a/src/libsystemd/sd-netlink/netlink-types.c +++ b/src/libsystemd/sd-netlink/netlink-types.c @@ -655,7 +655,7 @@ static const NLType rtnl_routing_policy_rule_types[] = { [FRA_PRIORITY] = { .type = NETLINK_TYPE_U32 }, [FRA_FWMARK] = { .type = NETLINK_TYPE_U32 }, [FRA_FLOW] = { .type = NETLINK_TYPE_U32 }, - [FRA_TUN_ID] = { .type = NETLINK_TYPE_U32 }, + [FRA_TUN_ID] = { .type = NETLINK_TYPE_U64 }, [FRA_SUPPRESS_IFGROUP] = { .type = NETLINK_TYPE_U32 }, [FRA_SUPPRESS_PREFIXLEN] = { .type = NETLINK_TYPE_U32 }, [FRA_TABLE] = { .type = NETLINK_TYPE_U32 }, -- 2.7.4