aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-10-30 18:34:36 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2023-10-30 19:06:57 +0100
commit87ed6e7b534fe2628a6e51e8f002b84d600ece73 (patch)
tree51fb89e0a4d19e9cd0e5860a6cbc69d3f4ea9fda
parentb24cdce2d913023f4c50f70749a15fdd51cf1d5a (diff)
sccp_demo_user: Allow initiating conns from vty in server mode
This allows starting SCCP conns from within sccp_demo_user, which in turn allows testing more scenarios in osmo-ttcn3-hacks.git SCCP_RAW_Tests testsuite. Related: SYS#6616 Change-Id: I7d5b3534c496dca8a3f3e66025af554bbe860c04
-rw-r--r--examples/sccp_demo_user.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/sccp_demo_user.c b/examples/sccp_demo_user.c
index a88dd69..d67bd27 100644
--- a/examples/sccp_demo_user.c
+++ b/examples/sccp_demo_user.c
@@ -307,6 +307,7 @@ int main(int argc, char **argv)
exit(1);
}
sccp_test_server_init(g_sccp);
+ sccp_test_user_vty_install(g_sccp, OSMO_SCCP_SSN_BSSAP);
}
g_calling_addr.pc = local_pc;
g_called_addr.pc = remote_pc;