aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-12-08 11:12:46 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-12-08 11:12:46 +0100
commit3a80cb2593673868673f602aeec3991ae2640c3a (patch)
tree8f6d86ecc917b08ddcc040ea89a7730f8934998c
parent1291ce5f8cc8faa83840fe8619bef9b61cdf14c2 (diff)
mtp: Prepare ISUP handling, just print the ISUP part.
-rw-r--r--include/mtp_level3.h1
-rw-r--r--src/mtp_layer3.c3
2 files changed, 4 insertions, 0 deletions
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;