pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/43484?usp=email ) Change subject: xua: Fix Routing Context IE len of multiple rctx ...................................................................... xua: Fix Routing Context IE len of multiple rctx There was a typo when adding the definition for "Routing Context: n X 32-bit integers" IE. The SUA_MSG_PART_CLASS_ROUTE_CTX1 is already used to check for "single Routing Context" case. Fixes: 684e0499a0ee291590ecd2546674222682d2ddf8 Change-Id: I8e21932dba8e85a01bcb2e6d0188773c36608135 --- M src/m3ua.c M src/sua.c 2 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/84/43484/1 diff --git a/src/m3ua.c b/src/m3ua.c index ae3077a..ed2efdd 100644 --- a/src/m3ua.c +++ b/src/m3ua.c @@ -155,7 +155,7 @@ XUA_MSG_PART_CLASS_UNBOUND(M3UA_IEI_ROUTE_CTX, (mandatory)) #define M3UA_MSG_PART_CLASS_ROUTE_CTX(mandatory) \ - XUA_MSG_PART_CLASS_U32(M3UA_IEI_ROUTE_CTX, (mandatory)) + XUA_MSG_PART_CLASS_UNBOUND(M3UA_IEI_ROUTE_CTX, (mandatory)) #define M3UA_MSG_PART_CLASS_ROUTE_CTX1(mandatory) \ XUA_MSG_PART_CLASS_U32(M3UA_IEI_ROUTE_CTX, (mandatory)) diff --git a/src/sua.c b/src/sua.c index e14130f..ddb2153 100644 --- a/src/sua.c +++ b/src/sua.c @@ -130,7 +130,7 @@ XUA_MSG_PART_CLASS_UNBOUND(SUA_IEI_ROUTE_CTX, (mandatory)) #define SUA_MSG_PART_CLASS_ROUTE_CTX(mandatory) \ - XUA_MSG_PART_CLASS_U32(SUA_IEI_ROUTE_CTX, (mandatory)) + XUA_MSG_PART_CLASS_UNBOUND(SUA_IEI_ROUTE_CTX, (mandatory)) #define SUA_MSG_PART_CLASS_ROUTE_CTX1(mandatory) \ XUA_MSG_PART_CLASS_U32(SUA_IEI_ROUTE_CTX, (mandatory)) -- To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/43484?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: libosmo-sigtran Gerrit-Branch: master Gerrit-Change-Id: I8e21932dba8e85a01bcb2e6d0188773c36608135 Gerrit-Change-Number: 43484 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin@sysmocom.de>