diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2014-09-22 10:42:05 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-10-09 17:48:37 +0200 |
commit | 9c65c8116fac1c99ba6eeb380e2cced26fbb5052 (patch) | |
tree | b475712ea64f65869fd79db8c353ffb4aa8dd304 /openbsc/tests/gbproxy/gbproxy_test.c | |
parent | 2bf326186a01a65762d73034975017d515eb4a01 (diff) |
gbproxy: Parse Attach Reject messages
That message is currently ignored but should invalidate the TLLI and
de-register the logical link instead.
This patch extends the parser to recognize such messages and to set
the invalidate_tlli flag.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/tests/gbproxy/gbproxy_test.c')
-rw-r--r-- | openbsc/tests/gbproxy/gbproxy_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/tests/gbproxy/gbproxy_test.c b/openbsc/tests/gbproxy/gbproxy_test.c index 9b2218cf3..a128b39fc 100644 --- a/openbsc/tests/gbproxy/gbproxy_test.c +++ b/openbsc/tests/gbproxy/gbproxy_test.c @@ -3418,6 +3418,8 @@ static void test_gbproxy_keep_info() dump_peers(stdout, 0, 0, &gbcfg); + OSMO_ASSERT(!gbproxy_link_info_by_tlli(peer, foreign_tlli)); + /* Attach (incomplete) and Detach (MO) */ gbproxy_delete_link_infos(peer); |