diff options
| author | YOSHIFUJI Hideaki <[email protected]> | 2008-04-14 11:09:00 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2008-04-14 11:09:00 +0000 |
| commit | a7d632b6b4ad1c92746ed409e41f9dc571ec04e2 (patch) | |
| tree | 90e6aa51a9df50aa4a437749e89356ab15a0ff5f /net/ipv4/tcp_ipv4.c | |
| parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/... (diff) | |
| download | kernel-a7d632b6b4ad1c92746ed409e41f9dc571ec04e2.tar.gz kernel-a7d632b6b4ad1c92746ed409e41f9dc571ec04e2.zip | |
[IPV4]: Use NIPQUAD_FMT to format ipv4 addresses.
And use %u to format port.
Signed-off-by: YOSHIFUJI Hideaki <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
| -rw-r--r-- | net/ipv4/tcp_ipv4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 02519730e0d5..776615180b93 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -1369,7 +1369,7 @@ int tcp_v4_conn_request(struct sock *sk, struct sk_buff *skb) * to the moment of synflood. */ LIMIT_NETDEBUG(KERN_DEBUG "TCP: drop open " - "request from %u.%u.%u.%u/%u\n", + "request from " NIPQUAD_FMT "/%u\n", NIPQUAD(saddr), ntohs(tcp_hdr(skb)->source)); goto drop_and_release; |
