diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-01 13:34:58 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-01 13:34:58 +0100 |
commit | 7a7255657797ae9fa72a93cab4e1f1d71d094ca3 (patch) | |
tree | 63e5558c4675e12ce1c9fce1c9e8c14424a30d10 /src/main.c | |
parent | ff9cd6f8f6f0c4505b4c01d8746d490eb41d7fc5 (diff) |
mtp: Allow to have a different POC for SCCP
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -674,6 +674,7 @@ int main(int argc, char **argv) bsc.dpc = 1; bsc.opc = 0; + bsc.sccp_opc = -1; bsc.udp_port = 3456; bsc.udp_ip = NULL; bsc.src_port = 1313; @@ -726,6 +727,7 @@ int main(int argc, char **argv) bsc.link.the_link = mtp_link_alloc(); bsc.link.the_link->dpc = bsc.dpc; bsc.link.the_link->opc = bsc.opc; + bsc.link.the_link->sccp_opc = bsc.sccp_opc > -1 ? bsc.sccp_opc : bsc.opc; bsc.link.the_link->link = 0; bsc.link.the_link->sltm_once = bsc.once; bsc.link.the_link->ni = bsc.ni_ni; |