aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-01-16 15:33:09 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-01-16 15:33:09 +0100
commit07b79bd91ee28a8d9c17c5993e4a26db79ba1c06 (patch)
tree710f5e8aaf5233a1648b09773812b025f71ad851
parent4c273d643739e0c82456aaecf6937b3da2b32d15 (diff)
sccp_demo_user: Bind VTY to -l local address cmdline arg
-rw-r--r--examples/sccp_demo_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sccp_demo_user.c b/examples/sccp_demo_user.c
index 3cbcc72..4b7b6bc 100644
--- a/examples/sccp_demo_user.c
+++ b/examples/sccp_demo_user.c
@@ -236,7 +236,7 @@ int main(int argc, char **argv)
osmo_ss7_vty_init_asp(NULL);
osmo_sccp_vty_init();
- rc = telnet_init_dynif(NULL, NULL, vty_get_bind_addr(), 2324+client);
+ rc = telnet_init_dynif(NULL, NULL, local_address, 2324+client);
if (rc < 0) {
perror("Error binding VTY port");
exit(1);