sd-netlink: fix type of RTA_VIA

This commit is contained in:
Yu Watanabe
2020-10-07 15:22:10 +02:00
parent ad208fac73
commit 2c59a8a624
+1 -1
View File
@@ -716,7 +716,7 @@ static const NLType rtnl_route_types[] = {
[RTA_TABLE] = { .type = NETLINK_TYPE_U32 },
[RTA_MARK] = { .type = NETLINK_TYPE_U32 },
[RTA_MFC_STATS] = { .type = NETLINK_TYPE_U64 },
[RTA_VIA] = { .type = NETLINK_TYPE_U32 },
[RTA_VIA] = { /* See struct rtvia */ },
[RTA_NEWDST] = { .type = NETLINK_TYPE_U32 },
[RTA_PREF] = { .type = NETLINK_TYPE_U8 },
[RTA_EXPIRES] = { .type = NETLINK_TYPE_U32 },