Skip to content

Commit c990101

Browse files
committed
sd-netlink: fix type of NDA_LLADDR attribute
1 parent a704137 commit c990101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ DEFINE_TYPE_SYSTEM(rtnl_route);
968968

969969
static const NLType rtnl_neigh_types[] = {
970970
[NDA_DST] = { .type = NETLINK_TYPE_IN_ADDR },
971-
[NDA_LLADDR] = { /* struct ether_addr, struct in_addr, or struct in6_addr */ },
971+
[NDA_LLADDR] = { .type = NETLINK_TYPE_ETHER_ADDR },
972972
[NDA_CACHEINFO] = { .type = NETLINK_TYPE_CACHE_INFO, .size = sizeof(struct nda_cacheinfo) },
973973
[NDA_PROBES] = { .type = NETLINK_TYPE_U32 },
974974
[NDA_VLAN] = { .type = NETLINK_TYPE_U16 },

0 commit comments

Comments
 (0)