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
This commit is contained in:
Harald Welte 2018-05-26 11:35:08 +02:00
parent 1ba800e36c
commit 3baa5da96d
1 changed files with 1 additions and 0 deletions

View File

@ -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)