diff options
| author | David S. Miller <davem@nuts.ninka.net> | 2003-04-27 12:36:08 -0700 |
|---|---|---|
| committer | David S. Miller <davem@nuts.ninka.net> | 2003-04-27 12:36:08 -0700 |
| commit | 67b818917d89369be612a01061ccd2816d8bd6d8 (patch) | |
| tree | de691bbb999c25da335333f597fb0e123c21e854 | |
| parent | 00295aafdae459037594d4d1a31a1f8d12e247e0 (diff) | |
[NETFILTER]: Use proper size_t printf format in ip6t_LOG.c
| -rw-r--r-- | net/ipv6/netfilter/ip6t_LOG.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/ip6t_LOG.c b/net/ipv6/netfilter/ip6t_LOG.c index 6a1b7974021b..55cf30d807ff 100644 --- a/net/ipv6/netfilter/ip6t_LOG.c +++ b/net/ipv6/netfilter/ip6t_LOG.c @@ -89,7 +89,7 @@ static void dump_packet(const struct ip6t_log_info *info, printk("DST=%04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x ", NIP6(ipv6h->daddr)); /* Max length: 44 "LEN=65535 TC=255 HOPLIMIT=255 FLOWLBL=FFFFF " */ - printk("LEN=%u TC=%u HOPLIMIT=%u FLOWLBL=%u ", + printk("LEN=%Zu TC=%u HOPLIMIT=%u FLOWLBL=%u ", ntohs(ipv6h->payload_len) + sizeof(struct ipv6hdr), (ntohl(*(u_int32_t *)ipv6h) & 0x0ff00000) >> 20, ipv6h->hop_limit, |
