diff options
Diffstat (limited to 'net/rxrpc/ar-proc.c')
-rw-r--r-- | net/rxrpc/ar-proc.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/net/rxrpc/ar-proc.c b/net/rxrpc/ar-proc.c index 017322e2786d..38047f713f2c 100644 --- a/net/rxrpc/ar-proc.c +++ b/net/rxrpc/ar-proc.c | |||
@@ -61,12 +61,12 @@ static int rxrpc_call_seq_show(struct seq_file *seq, void *v) | |||
61 | call = list_entry(v, struct rxrpc_call, link); | 61 | call = list_entry(v, struct rxrpc_call, link); |
62 | trans = call->conn->trans; | 62 | trans = call->conn->trans; |
63 | 63 | ||
64 | sprintf(lbuff, NIPQUAD_FMT":%u", | 64 | sprintf(lbuff, "%pI4:%u", |
65 | NIPQUAD(trans->local->srx.transport.sin.sin_addr), | 65 | &trans->local->srx.transport.sin.sin_addr, |
66 | ntohs(trans->local->srx.transport.sin.sin_port)); | 66 | ntohs(trans->local->srx.transport.sin.sin_port)); |
67 | 67 | ||
68 | sprintf(rbuff, NIPQUAD_FMT":%u", | 68 | sprintf(rbuff, "%pI4:%u", |
69 | NIPQUAD(trans->peer->srx.transport.sin.sin_addr), | 69 | &trans->peer->srx.transport.sin.sin_addr, |
70 | ntohs(trans->peer->srx.transport.sin.sin_port)); | 70 | ntohs(trans->peer->srx.transport.sin.sin_port)); |
71 | 71 | ||
72 | seq_printf(seq, | 72 | seq_printf(seq, |
@@ -144,12 +144,12 @@ static int rxrpc_connection_seq_show(struct seq_file *seq, void *v) | |||
144 | conn = list_entry(v, struct rxrpc_connection, link); | 144 | conn = list_entry(v, struct rxrpc_connection, link); |
145 | trans = conn->trans; | 145 | trans = conn->trans; |
146 | 146 | ||
147 | sprintf(lbuff, NIPQUAD_FMT":%u", | 147 | sprintf(lbuff, "%pI4:%u", |
148 | NIPQUAD(trans->local->srx.transport.sin.sin_addr), | 148 | &trans->local->srx.transport.sin.sin_addr, |
149 | ntohs(trans->local->srx.transport.sin.sin_port)); | 149 | ntohs(trans->local->srx.transport.sin.sin_port)); |
150 | 150 | ||
151 | sprintf(rbuff, NIPQUAD_FMT":%u", | 151 | sprintf(rbuff, "%pI4:%u", |
152 | NIPQUAD(trans->peer->srx.transport.sin.sin_addr), | 152 | &trans->peer->srx.transport.sin.sin_addr, |
153 | ntohs(trans->peer->srx.transport.sin.sin_port)); | 153 | ntohs(trans->peer->srx.transport.sin.sin_port)); |
154 | 154 | ||
155 | seq_printf(seq, | 155 | seq_printf(seq, |