net/tcp/tcp_input.c: Fix syslog formats
Note: tx_unacked is either uint16_t or uint32_t depending on the config.
This commit is contained in:
parent
8acff49a14
commit
cbdbb369c0
@ -511,7 +511,8 @@ found:
|
|||||||
nwarn("WARNING: ackseq > unackseq\n");
|
nwarn("WARNING: ackseq > unackseq\n");
|
||||||
nwarn("sndseq=%" PRIu32 " tx_unacked=%" PRIu32
|
nwarn("sndseq=%" PRIu32 " tx_unacked=%" PRIu32
|
||||||
" unackseq=%" PRIu32 " ackseq=%" PRIu32 "\n",
|
" unackseq=%" PRIu32 " ackseq=%" PRIu32 "\n",
|
||||||
tcp_getsequence(conn->sndseq), conn->tx_unacked,
|
tcp_getsequence(conn->sndseq),
|
||||||
|
(uint32_t)conn->tx_unacked,
|
||||||
unackseq, ackseq);
|
unackseq, ackseq);
|
||||||
|
|
||||||
conn->tx_unacked = 0;
|
conn->tx_unacked = 0;
|
||||||
@ -526,7 +527,7 @@ found:
|
|||||||
ninfo("sndseq: %08" PRIx32 "->%08" PRIx32
|
ninfo("sndseq: %08" PRIx32 "->%08" PRIx32
|
||||||
" unackseq: %08" PRIx32 " new tx_unacked: %" PRId32 "\n",
|
" unackseq: %08" PRIx32 " new tx_unacked: %" PRId32 "\n",
|
||||||
tcp_getsequence(conn->sndseq), ackseq, unackseq,
|
tcp_getsequence(conn->sndseq), ackseq, unackseq,
|
||||||
conn->tx_unacked);
|
(uint32_t)conn->tx_unacked);
|
||||||
tcp_setsequence(conn->sndseq, ackseq);
|
tcp_setsequence(conn->sndseq, ackseq);
|
||||||
|
|
||||||
/* Do RTT estimation, unless we have done retransmissions. */
|
/* Do RTT estimation, unless we have done retransmissions. */
|
||||||
|
Loading…
Reference in New Issue
Block a user