From eb534106645def65fee9701fcabef6ada002c9a2 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 12 Nov 2013 14:32:14 -0500 Subject: [PATCH] Don't show kernel pointers to procfs, just show if ni is NULL --- net80211/ieee80211_linux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net80211/ieee80211_linux.c b/net80211/ieee80211_linux.c index b9005a6..d954b3b 100644 --- a/net80211/ieee80211_linux.c +++ b/net80211/ieee80211_linux.c @@ -504,10 +504,10 @@ proc_iv_bss_print(struct ieee80211vap *vap, char *buf, int space) char *p = buf; const struct ieee80211_node *ni = vap->iv_bss; - p += sprintf(p, "vap:%p vap->iv_bss: %p\n", - vap, ni); - if (ni == NULL) + if (ni == NULL) { + p += sprintf(p, "ni: NULL\n"); return (p - buf); + } p += sprintf(p, "ni_macaddr: " MAC_FMT "\n" "ni_bssid: " MAC_FMT "\n"