Skip to content

Commit a15ff62

Browse files
thom311yuwata
authored andcommitted
netlink: fix netlink type for routing-rule FRA_L3MDEV
Fixes: bce67bb
1 parent 84e4b0b commit a15ff62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsystemd/sd-netlink/netlink-types.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ static const NLType rtnl_routing_policy_rule_types[] = {
663663
[FRA_FWMASK] = { .type = NETLINK_TYPE_U32 },
664664
[FRA_OIFNAME] = { .type = NETLINK_TYPE_STRING },
665665
[FRA_PAD] = { .type = NETLINK_TYPE_U32 },
666-
[FRA_L3MDEV] = { .type = NETLINK_TYPE_U64 },
666+
[FRA_L3MDEV] = { .type = NETLINK_TYPE_U8 },
667667
[FRA_UID_RANGE] = { .size = sizeof(struct fib_rule_uid_range) },
668668
[FRA_PROTOCOL] = { .type = NETLINK_TYPE_U8 },
669669
[FRA_IP_PROTO] = { .type = NETLINK_TYPE_U8 },

0 commit comments

Comments
 (0)