]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
netlink: fix netlink type for routing-rule FRA_L3MDEV
authorThomas Haller <thaller@redhat.com>
Thu, 14 Feb 2019 16:14:25 +0000 (17:14 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 15 Feb 2019 11:18:27 +0000 (20:18 +0900)
Fixes: bce67bbee359eec19e6778619b6651100a1c1477
src/libsystemd/sd-netlink/netlink-types.c

index 9dcd3f2ac8cc2e97c57780c833ea76e7fe24ba3f..e88c5b5653cc0a0703f419e2533a7ff2110e2b3b 100644 (file)
@@ -663,7 +663,7 @@ static const NLType rtnl_routing_policy_rule_types[] = {
         [FRA_FWMASK]              = { .type = NETLINK_TYPE_U32 },
         [FRA_OIFNAME]             = { .type = NETLINK_TYPE_STRING },
         [FRA_PAD]                 = { .type = NETLINK_TYPE_U32 },
-        [FRA_L3MDEV]              = { .type = NETLINK_TYPE_U64 },
+        [FRA_L3MDEV]              = { .type = NETLINK_TYPE_U8 },
         [FRA_UID_RANGE]           = { .size = sizeof(struct fib_rule_uid_range) },
         [FRA_PROTOCOL]            = { .type = NETLINK_TYPE_U8 },
         [FRA_IP_PROTO]            = { .type = NETLINK_TYPE_U8 },