diff options
Diffstat (limited to 'net/rxrpc/af_rxrpc.c')
-rw-r--r-- | net/rxrpc/af_rxrpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rxrpc/af_rxrpc.c b/net/rxrpc/af_rxrpc.c index 32e489118beb..d7d2bed7a699 100644 --- a/net/rxrpc/af_rxrpc.c +++ b/net/rxrpc/af_rxrpc.c | |||
@@ -96,9 +96,9 @@ static int rxrpc_validate_address(struct rxrpc_sock *rx, | |||
96 | 96 | ||
97 | switch (srx->transport.family) { | 97 | switch (srx->transport.family) { |
98 | case AF_INET: | 98 | case AF_INET: |
99 | _debug("INET: %x @ %u.%u.%u.%u", | 99 | _debug("INET: %x @ %pI4", |
100 | ntohs(srx->transport.sin.sin_port), | 100 | ntohs(srx->transport.sin.sin_port), |
101 | NIPQUAD(srx->transport.sin.sin_addr)); | 101 | &srx->transport.sin.sin_addr); |
102 | if (srx->transport_len > 8) | 102 | if (srx->transport_len > 8) |
103 | memset((void *)&srx->transport + 8, 0, | 103 | memset((void *)&srx->transport + 8, 0, |
104 | srx->transport_len - 8); | 104 | srx->transport_len - 8); |