diff options
author | sam <sam@FreeBSD.org> | 2005-07-22 17:13:44 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-07-22 17:13:44 +0000 |
commit | c461cb924462f6141585caff9bc68318f66d929c (patch) | |
tree | 53c4960198f8d2c63fe809095a38f634a3decc92 /sys/net80211 | |
parent | 0303ee7475fd3127b90ef41175e21092ecb32c80 (diff) | |
download | FreeBSD-src-c461cb924462f6141585caff9bc68318f66d929c.zip FreeBSD-src-c461cb924462f6141585caff9bc68318f66d929c.tar.gz |
include device name in discard msgs
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_input.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index f804519c..3b4f477 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -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 |