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:
Alexander Kabaev 2009-05-05 16:27:45 +00:00
parent a40b78741b
commit 5b65b8bc5b

View File

@ -2691,7 +2691,7 @@ in6m_print(const struct in6_multi *inm)
int t;
char ip6tbuf[INET6_ADDRSTRLEN];
if ((KTR_COMPILE & KTR_MLD) == 0)
if ((ktr_mask & KTR_MLD) == 0)
return;
printf("%s: --- begin in6m %p ---\n", __func__, inm);