neels has submitted this change. ( https://gerrit.osmocom.org/c/osmo-upf/+/31159 )
Change subject: fix deprecation: use telnet_init_default() ......................................................................
fix deprecation: use telnet_init_default()
Change-Id: Ib20ba77fcf65820e2992e252fb9d35e4219e3783 --- M src/osmo-pfcp-tool/osmo_pfcp_tool_main.c M src/osmo-upf/osmo_upf_main.c 2 files changed, 4 insertions(+), 4 deletions(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved pespin: Looks good to me, approved
diff --git a/src/osmo-pfcp-tool/osmo_pfcp_tool_main.c b/src/osmo-pfcp-tool/osmo_pfcp_tool_main.c index 9a760d4..2220ae4 100644 --- a/src/osmo-pfcp-tool/osmo_pfcp_tool_main.c +++ b/src/osmo-pfcp-tool/osmo_pfcp_tool_main.c @@ -299,8 +299,8 @@ } }
- /* start telnet, after reading config for vty_get_bind_addr() */ - rc = telnet_init_dynif(tall_pfcp_tool_ctx, &g_pfcp_tool, vty_get_bind_addr(), OSMO_VTY_PORT_PFCP_TOOL); + /* start telnet VTY */ + rc = telnet_init_default(tall_pfcp_tool_ctx, &g_pfcp_tool, OSMO_VTY_PORT_PFCP_TOOL); if (rc < 0) return 2;
diff --git a/src/osmo-upf/osmo_upf_main.c b/src/osmo-upf/osmo_upf_main.c index 40dbf09..df0f8e4 100644 --- a/src/osmo-upf/osmo_upf_main.c +++ b/src/osmo-upf/osmo_upf_main.c @@ -304,8 +304,8 @@ return 1; }
- /* start telnet, after reading config for vty_get_bind_addr() */ - rc = telnet_init_dynif(tall_upf_ctx, &g_upf, vty_get_bind_addr(), OSMO_VTY_PORT_UPF); + /* start telnet VTY */ + rc = telnet_init_default(tall_upf_ctx, &g_upf, OSMO_VTY_PORT_UPF); if (rc < 0) return 2;