[MERGED] osmo-iuh[master]: hnbgw: use proper talloc ctx for vty telnet init

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Dec 20 16:00:11 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: hnbgw: use proper talloc ctx for vty telnet init
......................................................................


hnbgw: use proper talloc ctx for vty telnet init

Change-Id: I355c6e5489f24566612528cd679c5cab21eed008
---
M src/hnbgw.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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 @@
 		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);

-- 
To view, visit https://gerrit.osmocom.org/5522
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I355c6e5489f24566612528cd679c5cab21eed008
Gerrit-PatchSet: 3
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list