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:
kan 2009-04-05 23:25:06 +00:00
parent ee689420c6
commit 6f5bda3790

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