diff options
author | kan <kan@FreeBSD.org> | 2009-04-05 23:25:06 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2009-04-05 23:25:06 +0000 |
commit | 6f5bda37903208bc8a3c7edbc195e9db50cb271c (patch) | |
tree | cf4fe810a958dddeee8acbfdaf71871543a00634 /sys/netinet | |
parent | ee689420c6c070681fd16743e97201d83f2020c8 (diff) | |
download | FreeBSD-src-6f5bda37903208bc8a3c7edbc195e9db50cb271c.zip FreeBSD-src-6f5bda37903208bc8a3c7edbc195e9db50cb271c.tar.gz |
If KTR_SUBSYS is compiled in, it does not necessarily mean that user
is interested in being spammed by mcast-related printfs.
Use proper check against ktr_mask instead KTR_COMPILE.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/in_mcast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/in_mcast.c b/sys/netinet/in_mcast.c index 9918c95..9c04916 100644 --- a/sys/netinet/in_mcast.c +++ b/sys/netinet/in_mcast.c @@ -2838,7 +2838,7 @@ inm_print(const struct in_multi *inm) { int t; - if ((KTR_COMPILE & KTR_IGMPV3) == 0) + if ((ktr_mask & KTR_IGMPV3) == 0) return; printf("%s: --- begin inm %p ---\n", __func__, inm); |