summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1997-08-16 01:34:42 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1997-08-16 01:34:42 +0000
commit637e2dae259da04f9fc095b5dee434da3e99d93b (patch)
tree81de6d62d16c2e3dd5cb0ff5df89099a062345c6 /sys/netinet
parent196572283d94e3ba42d902abf52990be1ffa6c5c (diff)
Just some more debugging info.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/tcp_input.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index e31c9f7f7e3..5cbfd174029 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.13 1997/08/09 01:26:00 angelos Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.14 1997/08/16 01:34:41 angelos Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -115,7 +115,7 @@ tck_delat(int n)
if ((n >= tck_nfriends) || (tck_nfriends == 0))
return;
- for (i = n+1; i < tck_nfriends ; i++)
+ for (i = n + 1; i < tck_nfriends ; i++)
tck_friends[i - 1] = tck_friends[i];
tck_nfriends--;
@@ -182,7 +182,7 @@ static int
tck_chkcookie(struct tcpiphdr *ti)
{
#ifdef DEBUG_TCPCOOKIE
- printf("tck_chkcookie: src = 0x%08x, cookie = 0x%08x, ack = 0x%08x\n", ntohl(ti->ti_src.s_addr), tck_makecookie(ti->ti_src), ti->ti_ack);
+ printf("tck_chkcookie: src = 0x%08x, cookie = 0x%08x, seq = 0x%08x, ack = 0x%08x\n", ntohl(ti->ti_src.s_addr), tck_makecookie(ti->ti_src), ti->ti_seq, ti->ti_ack);
#endif /* DEBUG_TCPCOOKIE */
if (tck_makecookie(ti->ti_src) == ti->ti_seq) /* seq in host order */