pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/libosmo-sigtran/+/43217?usp=email )


Change subject: xua_snm.c: Use M3UA IE define when shared with SUA IE
......................................................................

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(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran 
refs/changes/17/43217/1

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 https://gerrit.osmocom.org/c/libosmo-sigtran/+/43217?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: Ie15e5a179b65afc7a0d1cbe145cce4cf2556c877
Gerrit-Change-Number: 43217
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>

Reply via email to