summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-08-14 01:50:45 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-10-07 15:22:10 +0200
commit2c59a8a6248c4cdf4d446d707b99cf67054afb71 (patch)
tree98ca5ec7d46825535f698932d1c2bc8123daee85
parentad208fac7311ce6757add412fe3ac26cbf938049 (diff)
downloadsystemd-2c59a8a6248c4cdf4d446d707b99cf67054afb71.tar.gz
sd-netlink: fix type of RTA_VIA
-rw-r--r--src/libsystemd/sd-netlink/netlink-types.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-netlink/netlink-types.c b/src/libsystemd/sd-netlink/netlink-types.c
index 9c9471eadc..5f5a1558a1 100644
--- a/src/libsystemd/sd-netlink/netlink-types.c
+++ b/src/libsystemd/sd-netlink/netlink-types.c
@@ -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 },