diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-07-11 10:17:30 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-07-11 22:22:29 +0900 |
commit | 49808e0e2d01fd77df2e748de19cb402eb176bb9 (patch) | |
tree | 777f1ce9279fbfc6178e2c5a17a18228fb378a4c /src/libsystemd/sd-netlink/netlink-types.c | |
parent | 5dc3dbe855f14bb23470a125630b865bcefd3490 (diff) | |
download | systemd-49808e0e2d01fd77df2e748de19cb402eb176bb9.tar.gz |
network: NDA_LLADDR attribute can also take struct in_addr
Diffstat (limited to 'src/libsystemd/sd-netlink/netlink-types.c')
-rw-r--r-- | src/libsystemd/sd-netlink/netlink-types.c | 2 |
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 450e298f2c..5e4d8a94a0 100644 --- a/src/libsystemd/sd-netlink/netlink-types.c +++ b/src/libsystemd/sd-netlink/netlink-types.c @@ -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] = { .type = NETLINK_TYPE_ETHER_ADDR }, + [NDA_LLADDR] = { /* struct ether_addr or struct in_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 }, |