diff options
author | Steven Barth <steven@midlink.org> | 2015-07-07 16:01:13 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-07-07 16:01:13 +0200 |
commit | fd3e3bbc461fcbbaefff9339da2e9b6c85a5b4a1 (patch) | |
tree | 3895bd2f9a9ab585fb30cfd32d9dd9c4709f968b /src/ndp.c | |
parent | fb47b59a249adaff373aefe1bf09e635082ee0b3 (diff) |
router: also send RAs to every known neighbor
Diffstat (limited to 'src/ndp.c')
-rw-r--r-- | src/ndp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -356,7 +356,7 @@ static void handle_rtnetlink(_unused void *addr, void *data, size_t len, // Data to retrieve size_t rta_offset = (is_route) ? sizeof(*rtm) : (is_addr) ? - sizeof(*ifa) : sizeof(*ndm); + sizeof(struct ifaddrmsg) : sizeof(*ndm); uint16_t atype = (is_route) ? RTA_DST : (is_addr) ? IFA_ADDRESS : NDA_DST; ssize_t alen = NLMSG_PAYLOAD(nh, rta_offset); struct in6_addr *addr = NULL; |