aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_input.c
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2007-06-18 13:57:37 +0000
committerRandall Stewart <rrs@FreeBSD.org>2007-06-18 13:57:37 +0000
commitd95ddf0251b5b99f153856cf9b383fb9875a6eea (patch)
tree8c73a9153f45c6b2aa9f4c3aa01a05964d635622 /sys/netinet/sctp_input.c
parent5c9f1ae17deab5c740353b881d1a262be02626f3 (diff)
Notes
Diffstat (limited to 'sys/netinet/sctp_input.c')
-rw-r--r--sys/netinet/sctp_input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/sctp_input.c b/sys/netinet/sctp_input.c
index 42303ab946e4..0dc56f79802c 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