mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Added debug_timestamp option to Windows registry
This commit is contained in:
parent
b6310a6f47
commit
99a10f8d2c
@ -161,6 +161,13 @@ static int wpa_supplicant_thread(void)
|
||||
params.wpa_debug_show_keys = val;
|
||||
}
|
||||
|
||||
buflen = sizeof(val);
|
||||
ret = RegQueryValueEx(hk, TEXT("debug_timestamp"), NULL, NULL,
|
||||
(LPBYTE) &val, &buflen);
|
||||
if (ret == ERROR_SUCCESS && buflen == sizeof(val)) {
|
||||
params.wpa_debug_timestamp = val;
|
||||
}
|
||||
|
||||
buflen = sizeof(val);
|
||||
ret = RegQueryValueEx(hk, TEXT("debug_use_file"), NULL, NULL,
|
||||
(LPBYTE) &val, &buflen);
|
||||
|
@ -3,6 +3,7 @@ REGEDIT4
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\wpa_supplicant]
|
||||
"debug_level"=dword:00000000
|
||||
"debug_show_keys"=dword:00000001
|
||||
"debug_timestamp"=dword:00000000
|
||||
"debug_use_file"=dword:00000000
|
||||
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\wpa_supplicant\configs]
|
||||
|
Loading…
Reference in New Issue
Block a user