aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/gbproxy/gbproxy_test.ok
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-08-07 17:23:00 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2014-08-13 10:42:26 +0200
commitaad32bccc0a031408aa369da91e5a21de660d15f (patch)
tree6297d16595c478d3d6643bc4a256b89c1b6a8ea4 /openbsc/tests/gbproxy/gbproxy_test.ok
parent12828c1b309d0b9cda66dd369ad5935719b1ed66 (diff)
gbproxy: Don't remove stale TLLI automatically
This patches removes the call to gbprox_remove_stale_tllis() from gbprox_register_tlli(), so it must be called explicitly now. The call is now done from within gbprox_update_state_after(). In addition, the TLLI cache size counter is also kept in sync when gbprox_remove_stale_tllis is called manually. The call to gbproxy_peer_free() in gbproxy_peer_free() is moved behind the TLLI to allow for counter updates in gbprox_delete_tlli(). Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/tests/gbproxy/gbproxy_test.ok')
-rw-r--r--openbsc/tests/gbproxy/gbproxy_test.ok1
1 files changed, 0 insertions, 1 deletions
diff --git a/openbsc/tests/gbproxy/gbproxy_test.ok b/openbsc/tests/gbproxy/gbproxy_test.ok
index c893ff363..aea4de398 100644
--- a/openbsc/tests/gbproxy/gbproxy_test.ok
+++ b/openbsc/tests/gbproxy/gbproxy_test.ok
@@ -1922,7 +1922,6 @@ Test TLLI expiry, max_age == 1:
Add TLLI 2, IMSI 2 (should expire after timeout)
Peers:
NSEI 0, BVCI 20, not blocked, RAI 0-0-0-0
- TLLI cache size : 2
TLLI-Cache: 0
===== GbProxy test END