aboutsummaryrefslogtreecommitdiffstats
path: root/src/mtp_layer3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mtp_layer3.c')
-rw-r--r--src/mtp_layer3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mtp_layer3.c b/src/mtp_layer3.c
index 238a3f1..c4bbab4 100644
--- a/src/mtp_layer3.c
+++ b/src/mtp_layer3.c
@@ -19,7 +19,7 @@
*
*/
#include <mtp_data.h>
-#include <mtp_level3.h>
+#include <osmocom/mtp/mtp_level3.h>
#include <bsc_data.h>
#include <cellmgr_debug.h>
#include <isup_types.h>
@@ -368,9 +368,9 @@ static int mtp_link_regular_msg(struct mtp_link *link, struct mtp_level_3_hdr *h
return -1;
}
- if (MTP_ADDR_DPC(hdr->addr) != link->set->opc) {
+ if (MTP_READ_DPC(hdr->addr) != link->set->opc) {
LOGP(DINP, LOGL_ERROR, "MSG for OPC %d not handled on %d/%s\n",
- MTP_ADDR_DPC(hdr->addr), link->set->nr, link->set->name);
+ MTP_READ_DPC(hdr->addr), link->set->nr, link->set->name);
return -1;
}