telnet: Use the dynamic interface for binding the VTY

This way one can bind the interface to another ip address.
zecke/wip/sip-invite-cancel
Holger Hans Peter Freyther 7 years ago
parent c1879e47ba
commit 5b0d4618df
  1. 5
      src/main.c

@ -84,7 +84,10 @@ int main(int argc, char **argv)
sip_root = su_glib_root_create(NULL);
/* parsing and setup */
rc = telnet_init(tall_mncc_ctx, NULL, OSMO_VTY_PORT_MNCC_SIP);
LOGP(DAPP, LOGL_NOTICE, "VTY at %s %d\n",
vty_get_bind_addr(), OSMO_VTY_PORT_MNCC_SIP);
rc = telnet_init_dynif(tall_mncc_ctx, NULL,
vty_get_bind_addr(), OSMO_VTY_PORT_MNCC_SIP);
if (rc < 0)
exit(1);

Loading…
Cancel
Save