diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2012-09-26 08:05:53 -0400 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2012-09-27 22:33:52 -0400 |
commit | 120b9c14f464c445b20c05e81221ef83fdb5e55e (patch) | |
tree | 3cb816b411a83b6cc5155e900c1133368ddaca3e /include/net/ip_vs.h | |
parent | 82c93fcc2e1737fede2752520f1bf8f4de6304d8 (diff) |
ipvs: Trivial changes, use compressed IPv6 address in output
Have not converted the proc file output to compressed IPv6 addresses.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include/net/ip_vs.h')
-rw-r--r-- | include/net/ip_vs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index ee75ccdf5188..aba0bb2da92d 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h | |||
@@ -165,7 +165,7 @@ static inline const char *ip_vs_dbg_addr(int af, char *buf, size_t buf_len, | |||
165 | int len; | 165 | int len; |
166 | #ifdef CONFIG_IP_VS_IPV6 | 166 | #ifdef CONFIG_IP_VS_IPV6 |
167 | if (af == AF_INET6) | 167 | if (af == AF_INET6) |
168 | len = snprintf(&buf[*idx], buf_len - *idx, "[%pI6]", | 168 | len = snprintf(&buf[*idx], buf_len - *idx, "[%pI6c]", |
169 | &addr->in6) + 1; | 169 | &addr->in6) + 1; |
170 | else | 170 | else |
171 | #endif | 171 | #endif |