Silence unsolicited spam printed out when KTR_MLD happens to be
in KTR_COMPILE mask. Compiling KTR trace points in does not necessarily mean enabling them, use proper check against ktr_mask instead.
This commit is contained in:
parent
a40b78741b
commit
5b65b8bc5b
@ -2691,7 +2691,7 @@ in6m_print(const struct in6_multi *inm)
|
|||||||
int t;
|
int t;
|
||||||
char ip6tbuf[INET6_ADDRSTRLEN];
|
char ip6tbuf[INET6_ADDRSTRLEN];
|
||||||
|
|
||||||
if ((KTR_COMPILE & KTR_MLD) == 0)
|
if ((ktr_mask & KTR_MLD) == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
printf("%s: --- begin in6m %p ---\n", __func__, inm);
|
printf("%s: --- begin in6m %p ---\n", __func__, inm);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user