diff options
Diffstat (limited to 'openbsc/contrib/a-link/sccp-split-by-con.lua')
-rw-r--r-- | openbsc/contrib/a-link/sccp-split-by-con.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/openbsc/contrib/a-link/sccp-split-by-con.lua b/openbsc/contrib/a-link/sccp-split-by-con.lua index ad1835269..34300b19b 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 @@ 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 |