path: root/src/extra
diff options
authorDuncan Roe <>2019-10-08 11:49:47 +1100
committerPablo Neira Ayuso <>2019-10-08 12:20:16 +0200
commit4f3d7181969a27c391f41215aeb863957abc794e (patch)
tree5c51f834abfbe88468321f1a2e2e3f3ed7343574 /src/extra
parente4b7c60a137d7aa75993f0395f1284af4fe32db7 (diff)
src: Fix invalid conversion specifier
Clang (but not gcc) warned about this. Gcc (but not clang) used to warn that nfq_set_verdict_mark is deprecated, but this has stopped since re-defining EXPORT_SYMBOL. Signed-off-by: Duncan Roe <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'src/extra')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extra/ipv6.c b/src/extra/ipv6.c
index c0020ca..b599e91 100644
--- a/src/extra/ipv6.c
+++ b/src/extra/ipv6.c
@@ -134,7 +134,7 @@ int nfq_ip6_snprintf(char *buf, size_t size, const struct ip6_hdr *ip6h)
inet_ntop(AF_INET6, &ip6h->ip6_src, src, INET6_ADDRSTRLEN);
inet_ntop(AF_INET6, &ip6h->ip6_dst, dst, INET6_ADDRSTRLEN);
- ret = snprintf(buf, size, "SRC=%s DST=%s LEN=%Zu TC=0x%X "
+ ret = snprintf(buf, size, "SRC=%s DST=%s LEN=%zu TC=0x%X "
src, dst,
ntohs(ip6h->ip6_plen) + sizeof(struct ip6_hdr),