Tune the message for better informativity.

Print the hook pointer as other functions do.
This commit is contained in:
Alexander Motin 2008-02-01 07:25:06 +00:00
parent db2dabf87c
commit b1a3358ba3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=175867

View File

@ -600,7 +600,8 @@ pppoe_findsession(priv_p privp, const struct pppoe_full_hdr *wh)
}
}
mtx_unlock(&privp->sesshash[hash].mtx);
CTR3(KTR_NET, "%20s: matched %p for %d", __func__, sp, session);
CTR3(KTR_NET, "%20s: matched %p for %d", __func__, sp?sp->hook:NULL,
session);
return (sp);
}