diff options
Diffstat (limited to 'net/netfilter/xt_hashlimit.c')
-rw-r--r-- | net/netfilter/xt_hashlimit.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net/netfilter/xt_hashlimit.c b/net/netfilter/xt_hashlimit.c index 6fc4292d46e..f04c6ed4367 100644 --- a/net/netfilter/xt_hashlimit.c +++ b/net/netfilter/xt_hashlimit.c | |||
@@ -904,12 +904,11 @@ static int dl_seq_real_show(struct dsthash_ent *ent, u_int8_t family, | |||
904 | ent->rateinfo.cost); | 904 | ent->rateinfo.cost); |
905 | #if defined(CONFIG_IP6_NF_IPTABLES) || defined(CONFIG_IP6_NF_IPTABLES_MODULE) | 905 | #if defined(CONFIG_IP6_NF_IPTABLES) || defined(CONFIG_IP6_NF_IPTABLES_MODULE) |
906 | case NFPROTO_IPV6: | 906 | case NFPROTO_IPV6: |
907 | return seq_printf(s, "%ld " NIP6_FMT ":%u->" | 907 | return seq_printf(s, "%ld %p6:%u->%p6:%u %u %u %u\n", |
908 | NIP6_FMT ":%u %u %u %u\n", | ||
909 | (long)(ent->expires - jiffies)/HZ, | 908 | (long)(ent->expires - jiffies)/HZ, |
910 | NIP6(*(struct in6_addr *)&ent->dst.ip6.src), | 909 | &ent->dst.ip6.src, |
911 | ntohs(ent->dst.src_port), | 910 | ntohs(ent->dst.src_port), |
912 | NIP6(*(struct in6_addr *)&ent->dst.ip6.dst), | 911 | &ent->dst.ip6.dst, |
913 | ntohs(ent->dst.dst_port), | 912 | ntohs(ent->dst.dst_port), |
914 | ent->rateinfo.credit, ent->rateinfo.credit_cap, | 913 | ent->rateinfo.credit, ent->rateinfo.credit_cap, |
915 | ent->rateinfo.cost); | 914 | ent->rateinfo.cost); |