aboutgitcodebugslistschat
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index d51f50f..21b35ff 100644
--- a/util.c
+++ b/util.c
@@ -48,8 +48,8 @@
char *ipv6_l4hdr(const struct pool *p, int idx, size_t offset, uint8_t *proto,
size_t *dlen)
{
- struct ipv6_opt_hdr *o;
- struct ipv6hdr *ip6h;
+ const struct ipv6_opt_hdr *o;
+ const struct ipv6hdr *ip6h;
char *base;
int hdrlen;
uint8_t nh;