lua: Check for Cipher Mode Reject failures as well
This commit is contained in:
parent
bc3d8dd89e
commit
8bde2ee61f
|
@ -26,6 +26,19 @@ do
|
||||||
check_lu_reject(con)
|
check_lu_reject(con)
|
||||||
check_disconnect(con)
|
check_disconnect(con)
|
||||||
check_ass_failure(con)
|
check_ass_failure(con)
|
||||||
|
check_cipher_reject(con)
|
||||||
|
end
|
||||||
|
|
||||||
|
-- cipher mode reject
|
||||||
|
function check_cipher_reject(con)
|
||||||
|
local msgtype = bssmap_msgtype_field()
|
||||||
|
if not msgtype then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
if tonumber(msgtype) == 89 then
|
||||||
|
con[4] = true
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- check assignment failures
|
-- check assignment failures
|
||||||
|
|
Loading…
Reference in New Issue