diff options
Diffstat (limited to 'net/sunrpc/svcsock.c')
-rw-r--r-- | net/sunrpc/svcsock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c index 95293f549e9c..6f7d1f2d2f36 100644 --- a/net/sunrpc/svcsock.c +++ b/net/sunrpc/svcsock.c | |||
@@ -250,10 +250,10 @@ static int one_sock_name(char *buf, struct svc_sock *svsk) | |||
250 | 250 | ||
251 | switch(svsk->sk_sk->sk_family) { | 251 | switch(svsk->sk_sk->sk_family) { |
252 | case AF_INET: | 252 | case AF_INET: |
253 | len = sprintf(buf, "ipv4 %s %u.%u.%u.%u %d\n", | 253 | len = sprintf(buf, "ipv4 %s %pI4 %d\n", |
254 | svsk->sk_sk->sk_protocol==IPPROTO_UDP? | 254 | svsk->sk_sk->sk_protocol == IPPROTO_UDP ? |
255 | "udp" : "tcp", | 255 | "udp" : "tcp", |
256 | NIPQUAD(inet_sk(svsk->sk_sk)->rcv_saddr), | 256 | &inet_sk(svsk->sk_sk)->rcv_saddr, |
257 | inet_sk(svsk->sk_sk)->num); | 257 | inet_sk(svsk->sk_sk)->num); |
258 | break; | 258 | break; |
259 | default: | 259 | default: |