patch-2.1.54 linux/net/ipv4/tcp_ipv4.c
Next file: linux/net/netsyms.c
Previous file: linux/net/ipv4/tcp.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sat Sep 6 10:05:42 1997
- Orig file:
v2.1.53/linux/net/ipv4/tcp_ipv4.c
- Orig date:
Thu Sep 4 17:07:32 1997
diff -u --recursive --new-file v2.1.53/linux/net/ipv4/tcp_ipv4.c linux/net/ipv4/tcp_ipv4.c
@@ -5,7 +5,7 @@
*
* Implementation of the Transmission Control Protocol(TCP).
*
- * Version: $Id: tcp_ipv4.c,v 1.61 1997/09/02 09:46:55 freitag Exp $
+ * Version: $Id: tcp_ipv4.c,v 1.62 1997/09/04 22:34:59 davem Exp $
*
* IPv4 specific functions
*
@@ -1440,14 +1440,14 @@
case CHECKSUM_HW:
if (tcp_v4_check(th,len,saddr,daddr,skb->csum)) {
struct iphdr * iph = skb->nh.iph;
- printk(KERN_DEBUG "TCPv4 bad checksum from %I:%04x to %I:%04x, len=%d/%d/%d\n",
- &saddr, ntohs(th->source), &daddr,
+ printk(KERN_DEBUG "TCPv4 bad checksum from %d.%d.%d.%d:%04x to %d.%d.%d.%d:%04x, len=%d/%d/%d\n",
+ NIPQUAD(saddr), ntohs(th->source), NIPQUAD(daddr),
ntohs(th->dest), len, skb->len, ntohs(iph->tot_len));
goto discard_it;
}
default:
/* CHECKSUM_UNNECESSARY */
- };
+ }
tcp_statistics.TcpInSegs++;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov