summaryrefslogtreecommitdiffstats
path: root/include/net/ip_vs.h
diff options
context:
space:
mode:
authorHarvey Harrison2008-10-29 00:09:23 +0100
committerDavid S. Miller2008-10-29 07:02:31 +0100
commit0c6ce78abf6e228d44c3840edb8a4ae0c1299825 (patch)
tree55f228de41dd191609310c03633579eec05b1f33 /include/net/ip_vs.h
parentnetfilter: replace uses of NIP6_FMT with %p6 (diff)
downloadkernel-qcow2-linux-0c6ce78abf6e228d44c3840edb8a4ae0c1299825.tar.gz
kernel-qcow2-linux-0c6ce78abf6e228d44c3840edb8a4ae0c1299825.tar.xz
kernel-qcow2-linux-0c6ce78abf6e228d44c3840edb8a4ae0c1299825.zip
net: 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 'include/net/ip_vs.h')
-rw-r--r--include/net/ip_vs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index fe9fcf73c85e..6a6692067092 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -87,8 +87,8 @@ static inline const char *ip_vs_dbg_addr(int af, char *buf, size_t buf_len,
int len;
#ifdef CONFIG_IP_VS_IPV6
if (af == AF_INET6)
- len = snprintf(&buf[*idx], buf_len - *idx, "[" NIP6_FMT "]",
- NIP6(addr->in6)) + 1;
+ len = snprintf(&buf[*idx], buf_len - *idx, "[%p6]",
+ &addr->in6) + 1;
else
#endif
len = snprintf(&buf[*idx], buf_len - *idx, NIPQUAD_FMT,