mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
Add wpa_deny_ptk0_rekey to AP get_config() output
Signed-off-by: Alexander Wetzel <alexander@wetzel-home.de>
This commit is contained in:
parent
8a1660b607
commit
a5944db04a
@ -1287,6 +1287,14 @@ static int hostapd_ctrl_iface_get_config(struct hostapd_data *hapd,
|
||||
pos += ret;
|
||||
}
|
||||
|
||||
if (hapd->conf->wpa && hapd->conf->wpa_deny_ptk0_rekey) {
|
||||
ret = os_snprintf(pos, end - pos, "wpa_deny_ptk0_rekey=%d\n",
|
||||
hapd->conf->wpa_deny_ptk0_rekey);
|
||||
if (os_snprintf_error(end - pos, ret))
|
||||
return pos - buf;
|
||||
pos += ret;
|
||||
}
|
||||
|
||||
return pos - buf;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user