Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add a regression test for TLV parsing with repeated IEs | Stefan Sperling | 2018-03-16 | 1 | -0/+31 |
| | | | | | | | | | | | | | Since commit bf383a1d83661af26ccd6521c49b655fb22531d4 tlv_parse() will return the first occurrence of a repeated IE. Add a test to verify this behaviour. This test passes with the current code and fails if bf383a1d83661af26ccd6521c49b655fb22531d4 is reverted. While here, fix lies in documentation about the return value of tlv_parse() and fix a typo in another comment. Change-Id: I041f38548c5e4236920991d6c681c1c1e04de9ca Related: OS#2904 | ||||
* | tlv_test.c: Fix compilation warnings | Pau Espin Pedrol | 2017-06-18 | 1 | -19/+25 |
| | | | | | | | | Several warnings like the one below are fixed: warning: array subscript is below array bounds [-Warray-bounds] uint8_t *unchanged_ptr = buf - 1; Change-Id: I35d7d926939c14700cbca732bd64e588c75424b4 | ||||
* | tlv: Import osmo_shift_* and osmo_match_shift_* from openbsc | Harald Welte | 2016-05-05 | 2 | -0/+252 |
These routines have nothing to do with specifically the BSC, so import them to the TLV parser we keep in libosmogsm. |