mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +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
|
@ -2309,7 +2309,7 @@ static void DBGUNDO(struct sock *sk, const char *msg)
|
|||
struct tcp_sock *tp = tcp_sk(sk);
|
||||
struct inet_sock *inet = inet_sk(sk);
|
||||
|
||||
printk(KERN_DEBUG "Undo %s %u.%u.%u.%u/%u c%u l%u ss%u/%u p%u\n",
|
||||
printk(KERN_DEBUG "Undo %s " NIPQUAD_FMT "/%u c%u l%u ss%u/%u p%u\n",
|
||||
msg,
|
||||
NIPQUAD(inet->daddr), ntohs(inet->dport),
|
||||
tp->snd_cwnd, tcp_left_out(tp),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue