diff options
author | Duncan Roe <duncan_roe@optusnet.com.au> | 2019-10-08 11:49:47 +1100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-10-08 12:20:16 +0200 |
commit | 4f3d7181969a27c391f41215aeb863957abc794e (patch) | |
tree | 5c51f834abfbe88468321f1a2e2e3f3ed7343574 | |
parent | e4b7c60a137d7aa75993f0395f1284af4fe32db7 (diff) | |
download | libnetfilter_queue-4f3d7181969a27c391f41215aeb863957abc794e.tar.gz |
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 <duncan_roe@optusnet.com.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r-- | src/extra/ipv6.c | 2 |
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 " "HOPLIMIT=%u FLOWLBL=%u ", src, dst, ntohs(ip6h->ip6_plen) + sizeof(struct ip6_hdr), |