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 17:27:25 +0200
commit407d0e13ea85d84a96ba90a0aaed0a08f612f0fe (patch)
tree319c2c26fcd9c647118cd858003a8d384a43c27c
parenta7c4f97348d415491c64565dfb8defec4c68b3ef (diff)
HACK: Accept DAUD even in ASP rolelaforge/daud
-rw-r--r--src/m3ua.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/m3ua.c b/src/m3ua.c
index 77326e0..77b9891 100644
--- a/src/m3ua.c
+++ b/src/m3ua.c
@@ -901,6 +901,11 @@ 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 */
+ xua_snm_rx_daud(asp, xua);
+ break;
default:
return M3UA_ERR_UNSUPP_MSG_TYPE;
}