summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2007-06-06 22:10:12 +0000
committerandre <andre@FreeBSD.org>2007-06-06 22:10:12 +0000
commitc08bded78f1a822cbf0d99156dbca2e11b2a702c (patch)
tree93d31a181c70c27b7cd42e38c3035c9825429bea
parent863499a126cc9f8e397deab5f31c32adcd107435 (diff)
downloadFreeBSD-src-c08bded78f1a822cbf0d99156dbca2e11b2a702c.zip
FreeBSD-src-c08bded78f1a822cbf0d99156dbca2e11b2a702c.tar.gz
Correctly print SEQ and IRS in the corresponding log message in
syncache_expand().
-rw-r--r--sys/netinet/tcp_syncache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
index 9dd51b6..9d1d12d 100644
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -843,7 +843,7 @@ syncache_expand(struct in_conninfo *inc, struct tcpopt *to, struct tcphdr *th,
if (th->th_seq != sc->sc_irs + 1) {
if ((s = tcp_log_addrs(inc, th, NULL, NULL)))
log(LOG_DEBUG, "%s; %s: SEQ %u != IRS+1 %u, segment "
- "rejected\n", s, __func__, th->th_ack, sc->sc_iss);
+ "rejected\n", s, __func__, th->th_seq, sc->sc_irs);
goto failed;
}
/*
OpenPOWER on IntegriCloud