summaryrefslogtreecommitdiff
path: root/sys/net80211
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2012-07-18 13:24:29 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2012-07-18 13:24:29 +0000
commit1aab5b4f7611da677f651a86f42359b8aae57100 (patch)
tree3922b1aca89fe1a4001074420351968d9f0c0314 /sys/net80211
parentf0649356f08ec54bfa01c6ab733db8d7e0d04e42 (diff)
Print messages about nodes purged from the node cache if hostap/ibss modes are
compiled in and the interface is in debug mode. ok sthen
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_node.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/net80211/ieee80211_node.c b/sys/net80211/ieee80211_node.c
index 21639714169..ead12a31257 100644
--- a/sys/net80211/ieee80211_node.c
+++ b/sys/net80211/ieee80211_node.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_node.c,v 1.70 2012/07/16 14:51:46 stsp Exp $ */
+/* $OpenBSD: ieee80211_node.c,v 1.71 2012/07/18 13:24:28 stsp Exp $ */
/* $NetBSD: ieee80211_node.c,v 1.14 2004/05/09 09:18:47 dyoung Exp $ */
/*-
@@ -1194,9 +1194,10 @@ ieee80211_clean_nodes(struct ieee80211com *ic, int cache_timeout)
continue;
}
}
+ if (ifp->if_flags & IFF_DEBUG)
+ printf("%s: station %s purged from node cache\n",
+ ifp->if_xname, ether_sprintf(ni->ni_macaddr));
#endif
- DPRINTF(("station %s purged from LRU cache\n",
- ether_sprintf(ni->ni_macaddr)));
/*
* If we're hostap and the node is authenticated, send
* a deauthentication frame. The node will be freed when