diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-10-28 16:08:13 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-28 16:08:13 -0700 |
commit | 38ff4fa49bef77e86b21d95d9ce341a098f02839 (patch) | |
tree | 9c1b370a8d81410296719325a9b8264200e1af72 /net/netfilter/xt_recent.c | |
parent | 1afa67f5e70b4733d5b237df61e6d639af6283bb (diff) | |
download | kernel_samsung_espresso10-38ff4fa49bef77e86b21d95d9ce341a098f02839.zip kernel_samsung_espresso10-38ff4fa49bef77e86b21d95d9ce341a098f02839.tar.gz kernel_samsung_espresso10-38ff4fa49bef77e86b21d95d9ce341a098f02839.tar.bz2 |
netfilter: replace uses of NIP6_FMT with %p6
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/xt_recent.c')
-rw-r--r-- | net/netfilter/xt_recent.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/netfilter/xt_recent.c b/net/netfilter/xt_recent.c index 280c471..a377ea3 100644 --- a/net/netfilter/xt_recent.c +++ b/net/netfilter/xt_recent.c @@ -426,9 +426,8 @@ static int recent_seq_show(struct seq_file *seq, void *v) "oldest_pkt: %u", NIPQUAD(e->addr.ip), e->ttl, e->stamps[i], e->index); else - seq_printf(seq, "src=" NIP6_FMT " ttl: %u last_seen: %lu " - "oldest_pkt: %u", NIP6(e->addr.in6), e->ttl, - e->stamps[i], e->index); + seq_printf(seq, "src=%p6 ttl: %u last_seen: %lu oldest_pkt: %u", + &e->addr.in6, e->ttl, e->stamps[i], e->index); for (i = 0; i < e->nstamps; i++) seq_printf(seq, "%s %lu", i ? "," : "", e->stamps[i]); seq_printf(seq, "\n"); |