aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-12-20 02:33:44 +0100
committerHarald Welte <laforge@gnumonks.org>2017-12-20 16:00:11 +0000
commitade7e8b19bf423e9090dca67c906bc4bf8242df2 (patch)
treef00d5feae6b6e3b63aa48c750ae9ccb92e1ae2a7 /src
parentf898d6bc106d7e9522888300484a0bc732999628 (diff)
hnbgw: use proper talloc ctx for vty telnet init
Diffstat (limited to 'src')
-rw-r--r--src/hnbgw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hnbgw.c b/src/hnbgw.c
index 45a753f..ff3e2a9 100644
--- a/src/hnbgw.c
+++ b/src/hnbgw.c
@@ -471,7 +471,7 @@ int main(int argc, char **argv)
log_set_log_level(osmo_stderr_target,
hnbgw_cmdline_config.log_level);
- rc = telnet_init_dynif(NULL, g_hnb_gw, vty_get_bind_addr(), OSMO_VTY_PORT_HNBGW);
+ rc = telnet_init_dynif(tall_hnb_ctx, g_hnb_gw, vty_get_bind_addr(), OSMO_VTY_PORT_HNBGW);
if (rc < 0) {
perror("Error binding VTY port");
exit(1);