]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-netlink: update comment
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 18 Jul 2019 03:58:07 +0000 (12:58 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 18 Jul 2019 22:14:58 +0000 (07:14 +0900)
src/libsystemd/sd-netlink/netlink-types.c

index 5e4d8a94a0a31eed7c028b7edea12d53d21d1492..3dab56c73d9bfe100b7aff41da8a2fb992fe8f94 100644 (file)
@@ -663,7 +663,7 @@ static const NLTypeSystem rtnl_route_type_system = {
 
 static const NLType rtnl_neigh_types[] = {
         [NDA_DST]               = { .type = NETLINK_TYPE_IN_ADDR },
-        [NDA_LLADDR]            = { /* struct ether_addr or struct in_addr */ },
+        [NDA_LLADDR]            = { /* struct ether_addr, struct in_addr, or struct in6_addr */ },
         [NDA_CACHEINFO]         = { .type = NETLINK_TYPE_CACHE_INFO, .size = sizeof(struct nda_cacheinfo) },
         [NDA_PROBES]            = { .type = NETLINK_TYPE_U32 },
         [NDA_VLAN]              = { .type = NETLINK_TYPE_U16 },