]> git.ipfire.org Git - thirdparty/hostap.git/commit
WPA: Print pairwise EAPOL-Key flag as a bool
authorJohannes Berg <johannes.berg@intel.com>
Sat, 4 May 2013 08:48:57 +0000 (11:48 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 4 May 2013 08:48:57 +0000 (11:48 +0300)
commit8543ed8a378ae7400fc5585a8993d43ef0b0bb39
treebd6cc5505f9e66bbc2ed648ade95e4c9ed467674
parent7af092a015f64a47caa298a7938f6337a05d39c2
WPA: Print pairwise EAPOL-Key flag as a bool

Since "pairwise" is defined as an integer, the current assignment leads
to it having the value 0 or 8, which is a bit strange in debug output:

WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=1 pairwise=8
kde_len=46 keyidx=2 encr=1)

Use !!(...) to normalize it to 0 or 1.

Signed-hostap: Johannes Berg <johannes.berg@intel.com>
src/ap/wpa_auth.c