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.
This commit is contained in:
Alexander Kabaev 2009-04-05 23:25:06 +00:00
parent 439fd52c3c
commit 024a4bd626
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=190753

View File

@ -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);