diff options
Diffstat (limited to 'net/dccp/probe.c')
-rw-r--r-- | net/dccp/probe.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/dccp/probe.c b/net/dccp/probe.c index 81368a7f5379..49ba8d5ec4b5 100644 --- a/net/dccp/probe.c +++ b/net/dccp/probe.c | |||
@@ -86,18 +86,18 @@ static int jdccp_sendmsg(struct kiocb *iocb, struct sock *sk, | |||
86 | if (port == 0 || ntohs(inet->dport) == port || | 86 | if (port == 0 || ntohs(inet->dport) == port || |
87 | ntohs(inet->sport) == port) { | 87 | ntohs(inet->sport) == port) { |
88 | if (hctx) | 88 | if (hctx) |
89 | printl("%d.%d.%d.%d:%u %d.%d.%d.%d:%u %d %d %d %d %u " | 89 | printl("%pI4:%u %pI4:%u %d %d %d %d %u " |
90 | "%llu %llu %d\n", | 90 | "%llu %llu %d\n", |
91 | NIPQUAD(inet->saddr), ntohs(inet->sport), | 91 | &inet->saddr, ntohs(inet->sport), |
92 | NIPQUAD(inet->daddr), ntohs(inet->dport), size, | 92 | &inet->daddr, ntohs(inet->dport), size, |
93 | hctx->ccid3hctx_s, hctx->ccid3hctx_rtt, | 93 | hctx->ccid3hctx_s, hctx->ccid3hctx_rtt, |
94 | hctx->ccid3hctx_p, hctx->ccid3hctx_x_calc, | 94 | hctx->ccid3hctx_p, hctx->ccid3hctx_x_calc, |
95 | hctx->ccid3hctx_x_recv >> 6, | 95 | hctx->ccid3hctx_x_recv >> 6, |
96 | hctx->ccid3hctx_x >> 6, hctx->ccid3hctx_t_ipi); | 96 | hctx->ccid3hctx_x >> 6, hctx->ccid3hctx_t_ipi); |
97 | else | 97 | else |
98 | printl("%d.%d.%d.%d:%u %d.%d.%d.%d:%u %d\n", | 98 | printl("%pI4:%u %pI4:%u %d\n", |
99 | NIPQUAD(inet->saddr), ntohs(inet->sport), | 99 | &inet->saddr, ntohs(inet->sport), |
100 | NIPQUAD(inet->daddr), ntohs(inet->dport), size); | 100 | &inet->daddr, ntohs(inet->dport), size); |
101 | } | 101 | } |
102 | 102 | ||
103 | jprobe_return(); | 103 | jprobe_return(); |