From 9c65c8116fac1c99ba6eeb380e2cced26fbb5052 Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Mon, 22 Sep 2014 10:42:05 +0200 Subject: 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 --- openbsc/tests/gbproxy/gbproxy_test.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbsc/tests/gbproxy/gbproxy_test.c') 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); -- cgit v1.2.3