include device name in discard msgs

This commit is contained in:
sam 2005-07-22 17:13:44 +00:00
parent 0303ee7475
commit c461cb9244

View File

@ -2789,7 +2789,8 @@ ieee80211_discard_frame(struct ieee80211com *ic,
{
va_list ap;
printf("[%s] discard ", ether_sprintf(ieee80211_getbssid(ic, wh)));
printf("[%s:%s] discard ", ic->ic_ifp->if_xname,
ether_sprintf(ieee80211_getbssid(ic, wh)));
if (type != NULL)
printf("%s frame, ", type);
else
@ -2807,7 +2808,8 @@ ieee80211_discard_ie(struct ieee80211com *ic,
{
va_list ap;
printf("[%s] discard ", ether_sprintf(ieee80211_getbssid(ic, wh)));
printf("[%s:%s] discard ", ic->ic_ifp->if_xname,
ether_sprintf(ieee80211_getbssid(ic, wh)));
if (type != NULL)
printf("%s information element, ", type);
else