summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-05-05 16:32:48 +0200
committerHarald Welte <laforge@gnumonks.org>2019-05-09 10:34:23 +0200
commitd6cc1294e2e5a1dac2d8a53a907132bc5cc92c0d (patch)
tree5d775a6890f08278d58a21fc5e086be778306905
parent174d33681a4c093caa72efbc16067554bdee349f (diff)
stp: Ensure telnet uses STP talloc context, not NULL context
-rw-r--r--stp/stp_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stp/stp_main.c b/stp/stp_main.c
index 0554b4a..e7f4f38 100644
--- a/stp/stp_main.c
+++ b/stp/stp_main.c
@@ -190,7 +190,7 @@ int main(int argc, char **argv)
osmo_ss7_bind_all_instances();
- rc = telnet_init_dynif(NULL, NULL, vty_get_bind_addr(), OSMO_VTY_PORT_STP);
+ rc = telnet_init_dynif(tall_stp_ctx, NULL, vty_get_bind_addr(), OSMO_VTY_PORT_STP);
if (rc < 0) {
perror("Error binding VTY port\n");
exit(1);