aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2021-05-08 17:27:09 +0200
committerHarald Welte <laforge@osmocom.org>2021-05-08 16:16:12 +0000
commitec4b067d6460f61def0f0174f6d2071b2b53aca9 (patch)
tree945db5d44d1c6720c21d484580df76dcaf1f62e1
parenta7c4f97348d415491c64565dfb8defec4c68b3ef (diff)
HACK: Accept DAUD even in ASP role
-rw-r--r--src/m3ua.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/m3ua.c b/src/m3ua.c
index 77326e0..dd19a44 100644
--- a/src/m3ua.c
+++ b/src/m3ua.c
@@ -901,6 +901,12 @@ static int m3ua_rx_snm_asp(struct osmo_ss7_asp *asp, struct xua_msg *xua)
xua->hdr.msg_type);
/* silently ignore those to not confuse the sender */
break;
+ case M3UA_SNM_DAUD: /* Audit: ASP inquires about availability of Point Codes */
+ /* The M3UA RFC clearly states this message is for the ASP->SG direction. However, it seems
+ * there are implementations that also send it in SG->ASP direction */
+ LOGPASP(asp, DLM3UA, LOGL_NOTICE, "Handling DAUD on ASP ?!?\n");
+ xua_snm_rx_daud(asp, xua);
+ break;
default:
return M3UA_ERR_UNSUPP_MSG_TYPE;
}