aboutgitcodebugslistschat
path: root/ndp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ndp.c')
-rw-r--r--ndp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ndp.c b/ndp.c
index ded2081..3e15494 100644
--- a/ndp.c
+++ b/ndp.c
@@ -328,13 +328,13 @@ static void ndp_ra(const struct ctx *c, const struct in6_addr *dst)
memcpy(&ra.source_ll.mac, c->our_tap_mac, ETH_ALEN);
+ /* NOLINTNEXTLINE(clang-analyzer-security.PointerSub) */
ndp_send(c, dst, &ra, ptr - (unsigned char *)&ra);
}
/**
* ndp() - Check for NDP solicitations, reply as needed
* @c: Execution context
- * @ih: ICMPv6 header
* @saddr: Source IPv6 address
* @p: Packet pool
*