lua: Check for Cipher Mode Reject failures as well
diff --git a/openbsc/contrib/a-link/sccp-split-by-con.lua b/openbsc/contrib/a-link/sccp-split-by-con.lua
index ad18352..34300b1 100644
--- a/openbsc/contrib/a-link/sccp-split-by-con.lua
+++ b/openbsc/contrib/a-link/sccp-split-by-con.lua
@@ -26,6 +26,19 @@
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