From 48582bf47f5ef7a1bf136ca455d182addad08028 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Sat, 26 Mar 2022 07:23:21 +0100 Subject: treewide: Mark constant references as const Signed-off-by: Stefano Brivio --- ndp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ndp.c') 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; -- cgit v1.2.3