aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_log_buf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/tcp_log_buf.c')
-rw-r--r--sys/netinet/tcp_log_buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_log_buf.c b/sys/netinet/tcp_log_buf.c
index 75d693bc019b..e24790ece43d 100644
--- a/sys/netinet/tcp_log_buf.c
+++ b/sys/netinet/tcp_log_buf.c
@@ -2878,7 +2878,7 @@ tcp_log_sendfile(struct socket *so, off_t offset, size_t nbytes, int flags)
/* double check log state now that we have the lock */
if (inp->inp_flags & INP_DROPPED)
goto done;
- if (tp->_t_logstate != TCP_LOG_STATE_OFF) {
+ if (tcp_bblogging_on(tp)) {
struct timeval tv;
tcp_log_eventspecific_t log;