From: Thomas Haller Date: Thu, 14 Feb 2019 16:14:25 +0000 (+0100) Subject: netlink: fix netlink type for routing-rule FRA_L3MDEV X-Git-Tag: v242-rc1~317 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a15ff62d767307cf7e0bbb65c7db6c05b1168d72;p=thirdparty%2Fsystemd.git netlink: fix netlink type for routing-rule FRA_L3MDEV Fixes: bce67bbee359eec19e6778619b6651100a1c1477 --- diff --git a/src/libsystemd/sd-netlink/netlink-types.c b/src/libsystemd/sd-netlink/netlink-types.c index 9dcd3f2ac8c..e88c5b5653c 100644 --- a/src/libsystemd/sd-netlink/netlink-types.c +++ b/src/libsystemd/sd-netlink/netlink-types.c @@ -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 },