diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-04-14 07:09:00 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-14 07:09:00 -0400 |
commit | a7d632b6b4ad1c92746ed409e41f9dc571ec04e2 (patch) | |
tree | 90e6aa51a9df50aa4a437749e89356ab15a0ff5f /net/ipv4/tcp_input.c | |
parent | 334f8b2afd9652e20f67ddee4fec483ed860425b (diff) |
[IPV4]: Use NIPQUAD_FMT to format ipv4 addresses.
And use %u to format port.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r-- | net/ipv4/tcp_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index bd0ee8ca8b21..3c6c7d7a7b0a 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -2309,7 +2309,7 @@ static void DBGUNDO(struct sock *sk, const char *msg) | |||
2309 | struct tcp_sock *tp = tcp_sk(sk); | 2309 | struct tcp_sock *tp = tcp_sk(sk); |
2310 | struct inet_sock *inet = inet_sk(sk); | 2310 | struct inet_sock *inet = inet_sk(sk); |
2311 | 2311 | ||
2312 | printk(KERN_DEBUG "Undo %s %u.%u.%u.%u/%u c%u l%u ss%u/%u p%u\n", | 2312 | printk(KERN_DEBUG "Undo %s " NIPQUAD_FMT "/%u c%u l%u ss%u/%u p%u\n", |
2313 | msg, | 2313 | msg, |
2314 | NIPQUAD(inet->daddr), ntohs(inet->dport), | 2314 | NIPQUAD(inet->daddr), ntohs(inet->dport), |
2315 | tp->snd_cwnd, tcp_left_out(tp), | 2315 | tp->snd_cwnd, tcp_left_out(tp), |