diff options
| author | 2014-07-24 08:23:12 +0000 | |
|---|---|---|
| committer | 2014-07-24 08:23:12 +0000 | |
| commit | 346dff7f25fadbdd882835a7f46f63d3d2735b8c (patch) | |
| tree | 2f3493f00a4189a003e59c38075cf2ea4fa78304 | |
| parent | Remove unused fields from structure (diff) | |
| download | wireguard-openbsd-346dff7f25fadbdd882835a7f46f63d3d2735b8c.tar.xz wireguard-openbsd-346dff7f25fadbdd882835a7f46f63d3d2735b8c.zip | |
Fix debug printf, from Nathanael Rensen and chris@.
| -rw-r--r-- | sys/net80211/ieee80211_pae_input.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_pae_input.c b/sys/net80211/ieee80211_pae_input.c index 7385ac5c7ba..42d1575b1a9 100644 --- a/sys/net80211/ieee80211_pae_input.c +++ b/sys/net80211/ieee80211_pae_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_pae_input.c,v 1.19 2014/07/22 11:06:10 mpi Exp $ */ +/* $OpenBSD: ieee80211_pae_input.c,v 1.20 2014/07/24 08:23:12 mpi Exp $ */ /*- * Copyright (c) 2007,2008 Damien Bergamini <damien.bergamini@free.fr> @@ -978,7 +978,8 @@ ieee80211_recv_group_msg2(struct ieee80211com *ic, /* discard if we're not expecting this message */ if (ni->ni_rsn_gstate != RSNA_REKEYNEGOTIATING) { - DPRINTF(("%s: unexpected in state: %d\n", ni->ni_rsn_gstate)); + DPRINTF(("%s: unexpected in state: %d\n", ic->ic_if.if_xname, + ni->ni_rsn_gstate)); return; } if (BE_READ_8(key->replaycnt) != ni->ni_replaycnt) { |
