make OUT debug look more like IN debug

This commit is contained in:
Erik Ekman 2009-01-03 18:29:36 +00:00
parent b66dc4ea51
commit da6eee279a

View File

@ -172,7 +172,7 @@ update_downstream_seqno(int dns_fd, int userid, int down_seq, int down_frag)
/* Send reply if waiting */ /* Send reply if waiting */
if (users[userid].outpacket.len > 0) { if (users[userid].outpacket.len > 0) {
if (debug >= 1) { if (debug >= 1) {
printf("OUT pkt seq# %d, frag %d (last=%d), fragsize %d of total %d, to user %d\n", printf("OUT pkt seq# %d, frag %d (last=%d), fragsize %d, total %d, to user %d\n",
users[userid].outpacket.seqno & 7, users[userid].outpacket.fragment & 15, users[userid].outpacket.seqno & 7, users[userid].outpacket.fragment & 15,
1, users[userid].outpacket.len, users[userid].outpacket.len, userid); 1, users[userid].outpacket.len, users[userid].outpacket.len, userid);
} }