Date: Thu, 13 Mar 2008 20:36:14 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 137642 for review Message-ID: <200803132036.m2DKaEhQ009113@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=137642 Change 137642 by sam@sam_ebb on 2008/03/13 20:35:32 identify ifnet in 802.11 msgs Affected files ... .. //depot/projects/vap/tools/tools/net80211/wlanwatch/wlanwatch.c#5 edit Differences ... ==== //depot/projects/vap/tools/tools/net80211/wlanwatch/wlanwatch.c#5 (text+ko) ==== @@ -338,7 +338,7 @@ case RTM_IEEE80211: #define V(type) ((struct type *)(&ifan[1])) ifan = (struct if_announcemsghdr *)rtm; - printf("%.19s RTM_IEEE80211: ", cnow); + printf("%.19s RTM_IEEE80211: if# %d, ", cnow, ifan->ifan_index); switch (ifan->ifan_what) { case RTM_IEEE80211_ASSOC: printf("associate with %s", @@ -435,8 +435,7 @@ ether_sprintf(V(ieee80211_auth_event)->iev_addr)); break; default: - printf("if# %d, what: #%d", - ifan->ifan_index, ifan->ifan_what); + printf("what: #%d", ifan->ifan_what); break; } printf("\n");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803132036.m2DKaEhQ009113>