laforge submitted this change.

View Change



1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.

Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified
xua_snm.c: Use M3UA IE define when shared with SUA IE

We use everywhere the M3UA IE define when both the M3UA and SUA IE are
equivalent (for those IEs the SUA define points to the M3UA, and
osmo_static_assert() are placed at the start of the file).

Change-Id: Ie15e5a179b65afc7a0d1cbe145cce4cf2556c877
---
M src/xua_snm.c
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xua_snm.c b/src/xua_snm.c
index a2e4fde..2abc42e 100644
--- a/src/xua_snm.c
+++ b/src/xua_snm.c
@@ -552,8 +552,8 @@
/* an incoming SUA/M3UA DUPU was received from a remote SG */
void xua_snm_rx_dupu(struct osmo_ss7_asp *asp, struct osmo_ss7_as *as, struct xua_msg *xua)
{
- uint32_t aff_pc = xua_msg_get_u32(xua, SUA_IEI_AFFECTED_PC);
- const char *info_str = xua_msg_get_str(xua, SUA_IEI_INFO_STRING);
+ uint32_t aff_pc = xua_msg_get_u32(xua, M3UA_IEI_AFFECTED_PC);
+ const char *info_str = xua_msg_get_str(xua, M3UA_IEI_INFO_STRING);
/* TODO: should our processing depend on the RCTX included? I somehow don't think so */
//struct xua_msg_part *ie_rctx = xua_msg_find_tag(xua, SUA_IEI_ROUTE_CTX);
int log_ss = osmo_ss7_asp_get_log_subsys(asp);

To view, visit change 43217. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Ie15e5a179b65afc7a0d1cbe145cce4cf2556c877
Gerrit-Change-Number: 43217
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge@osmocom.org>