lua: Check for Cipher Mode Reject failures as well

This commit is contained in:
Holger Hans Peter Freyther 2010-10-20 19:08:49 +02:00
parent bc3d8dd89e
commit 8bde2ee61f
1 changed files with 13 additions and 0 deletions

View File

@ -26,6 +26,19 @@ do
check_lu_reject(con)
check_disconnect(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
-- check assignment failures