aboutgitcodebugslistschat
path: root/ndp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ndp.c')
-rw-r--r--ndp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ndp.c b/ndp.c
index b40a0c4..4d13be3 100644
--- a/ndp.c
+++ b/ndp.c
@@ -45,8 +45,8 @@
*
* Return: 0 if not handled here, 1 if handled, -1 on failure
*/
-int ndp(struct ctx *c, struct icmp6hdr *ih, unsigned char *eh_source,
- struct in6_addr *saddr)
+int ndp(struct ctx *c, const struct icmp6hdr *ih,
+ const unsigned char *eh_source, const struct in6_addr *saddr)
{
char buf[BUFSIZ] = { 0 };
struct ipv6hdr *ip6hr;