mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-09 08:02:05 +00:00
[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>
This commit is contained in:
parent
334f8b2afd
commit
a7d632b6b4
14 changed files with 47 additions and 47 deletions
|
@ -301,7 +301,7 @@ static void tcp_retransmit_timer(struct sock *sk)
|
|||
#ifdef TCP_DEBUG
|
||||
if (1) {
|
||||
struct inet_sock *inet = inet_sk(sk);
|
||||
LIMIT_NETDEBUG(KERN_DEBUG "TCP: Treason uncloaked! Peer %u.%u.%u.%u:%u/%u shrinks window %u:%u. Repaired.\n",
|
||||
LIMIT_NETDEBUG(KERN_DEBUG "TCP: Treason uncloaked! Peer " NIPQUAD_FMT ":%u/%u shrinks window %u:%u. Repaired.\n",
|
||||
NIPQUAD(inet->daddr), ntohs(inet->dport),
|
||||
inet->num, tp->snd_una, tp->snd_nxt);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue