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:
parent
ee689420c6
commit
6f5bda3790
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user