diff options
author | tuexen <tuexen@FreeBSD.org> | 2013-08-25 12:44:03 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2013-08-25 12:44:03 +0000 |
commit | 3869cd403d488d32ae1c8ec7fc404d68eb6f99cd (patch) | |
tree | 1da7b70b086f3f66efbcee46d8dd2c98cdb663d1 /sys/netinet6 | |
parent | d23973780e79b68f802261b38035ee69db573f10 (diff) | |
download | FreeBSD-src-3869cd403d488d32ae1c8ec7fc404d68eb6f99cd.zip FreeBSD-src-3869cd403d488d32ae1c8ec7fc404d68eb6f99cd.tar.gz |
Provide human readable debug output.
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/sctp6_usrreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/sctp6_usrreq.c b/sys/netinet6/sctp6_usrreq.c index 74be85b..511b0e8 100644 --- a/sys/netinet6/sctp6_usrreq.c +++ b/sys/netinet6/sctp6_usrreq.c @@ -109,10 +109,10 @@ sctp6_input_with_port(struct mbuf **i_pak, int *offp, uint16_t port) } #endif SCTPDBG(SCTP_DEBUG_CRCOFFLOAD, - "sctp6_input(): Packet of length %d received on %s with csum_flags 0x%x.\n", + "sctp6_input(): Packet of length %d received on %s with csum_flags 0x%b.\n", m->m_pkthdr.len, if_name(m->m_pkthdr.rcvif), - (int)m->m_pkthdr.csum_flags); + (int)m->m_pkthdr.csum_flags, CSUM_BITS); if (m->m_flags & M_FLOWID) { mflowid = m->m_pkthdr.flowid; use_mflowid = 1; |