commit | c404c082c6aaa92f006935b5828ef11c7fe5b0e7 | [log] [tgz] |
---|---|---|
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | Fri Aug 08 08:37:37 2014 +0200 |
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | Wed Aug 13 10:42:27 2014 +0200 |
tree | f8a34ce1038f0eca95f3ef615092cefbca99299d | |
parent | 985b46e9f1918c82c3afde1cfb131d5fa1fa8e68 [diff] |
gbproxy: Don't call time() in TLLI related functions Currently time() is called at several places to control TLLI aging. Beside calling time() more often than necessary, the decision which timesource is to be used is coded into the TLLI handling, and testing complex aging scenarios is cumbersome. This patch passes the current time as a parameter instead. The call to time() is moved to gbprox_process_bssgp_message(). Sponsored-by: On-Waves ehf