summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-05-26 11:35:08 +0200
committerHarald Welte <laforge@gnumonks.org>2018-05-26 11:37:00 +0200
commit3baa5da96d48b889a448ccbb1d3c841960a40bb8 (patch)
tree47fdc555fc6ffc87a22715552bfc03289f71eb10
parent1ba800e36c48e959948b4413832dda185c7a5ea8 (diff)
osmo_ss7: Register 5000 as default port for IPA/SCCPlite
Makes sure that in absence of a user-specified port number, osmo_ss7_asp_protocol_port() will return 5000 as default port number. Change-Id: I628ee095603742a652fd971887e02cc17d1f71b8
-rw-r--r--src/osmo_ss7.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo_ss7.c b/src/osmo_ss7.c
index 30677b9..275469e 100644
--- a/src/osmo_ss7.c
+++ b/src/osmo_ss7.c
@@ -307,6 +307,7 @@ static const uint16_t prot2port[] = {
[OSMO_SS7_ASP_PROT_NONE] = 0,
[OSMO_SS7_ASP_PROT_SUA] = SUA_PORT,
[OSMO_SS7_ASP_PROT_M3UA] = M3UA_PORT,
+ [OSMO_SS7_ASP_PROT_IPA] = 5000,
};
int osmo_ss7_asp_protocol_port(enum osmo_ss7_asp_protocol prot)