From 3a80cb2593673868673f602aeec3991ae2640c3a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 8 Dec 2010 11:12:46 +0100 Subject: mtp: Prepare ISUP handling, just print the ISUP part. --- include/mtp_level3.h | 1 + src/mtp_layer3.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/include/mtp_level3.h b/include/mtp_level3.h index a7cdd45..8a8b42e 100644 --- a/include/mtp_level3.h +++ b/include/mtp_level3.h @@ -36,6 +36,7 @@ #define MTP_SI_MNT_SNM_MSG 0x00 #define MTP_SI_MNT_REG_MSG 0x01 #define MTP_SI_MNT_SCCP 0x03 +#define MTP_SI_MNT_ISUP 0x05 /* * h0 contains the group, h1 the semantic of it diff --git a/src/mtp_layer3.c b/src/mtp_layer3.c index 671ed9b..14933f2 100644 --- a/src/mtp_layer3.c +++ b/src/mtp_layer3.c @@ -469,6 +469,9 @@ int mtp_link_data(struct mtp_link *link, struct msgb *msg) case MTP_SI_MNT_SCCP: rc = mtp_link_sccp_data(link, hdr, msg, l3_len); break; + case MTP_SI_MNT_ISUP: + LOGP(DINP, LOGL_ERROR, "ISUP handling not implemented.\n"); + break; default: fprintf(stderr, "Unhandled: %u\n", hdr->ser_ind); break; -- cgit v1.2.3