diff options
Diffstat (limited to 'sys/netinet/sctp_input.c')
-rw-r--r-- | sys/netinet/sctp_input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/sctp_input.c b/sys/netinet/sctp_input.c index 42303ab..0dc56f7 100644 --- a/sys/netinet/sctp_input.c +++ b/sys/netinet/sctp_input.c @@ -4715,7 +4715,8 @@ sctp_input(i_pak, off) } #endif #ifdef SCTP_PACKET_LOGGING - sctp_packet_log(m, mlen); + if (sctp_logging_level & SCTP_LAST_PACKET_TRACING) + sctp_packet_log(m, mlen); #endif /* * Must take out the iphlen, since mlen expects this (only effect lb |