mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-18 02:44:03 -05:00
Fix hostapd GET_CONFIG wpa_pairwise_cipher value
Copy-paste error ended up getting rsn_pairwise_cipher value for both rsn_pairwise_cipher and wpa_pairwise_cipher (CID 72693). Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
3a413e0ed8
commit
10e7948f76
@ -1010,7 +1010,7 @@ static int hostapd_ctrl_iface_get_config(struct hostapd_data *hapd,
|
|||||||
return pos - buf;
|
return pos - buf;
|
||||||
pos += ret;
|
pos += ret;
|
||||||
|
|
||||||
ret = wpa_write_ciphers(pos, end, hapd->conf->rsn_pairwise,
|
ret = wpa_write_ciphers(pos, end, hapd->conf->wpa_pairwise,
|
||||||
" ");
|
" ");
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return pos - buf;
|
return pos - buf;
|
||||||
|
Loading…
Reference in New Issue
Block a user