summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/gsup/gsup_test.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/gsup/gsup_test.c b/tests/gsup/gsup_test.c
index b3a8c772..079a7031 100644
--- a/tests/gsup/gsup_test.c
+++ b/tests/gsup/gsup_test.c
@@ -401,11 +401,7 @@ static void test_gsup_messages_dec_enc(void)
osmo_hexdump(t->data + j, ie_end - j));
OSMO_ASSERT(j <= ie_end - 2);
- /**
- * FIXME: share the maximal IE value somehow
- * in order to avoid manual updating of this
- */
- OSMO_ASSERT(t->data[j+0] <= OSMO_GSUP_SM_ALERT_RSN_IE);
+ OSMO_ASSERT(t->data[j+0] < _OSMO_GSUP_IEI_END_MARKER);
OSMO_ASSERT(t->data[j+1] <= ie_end - j - 2);
ie_end = j;