Change in libosmo-sccp[master]: stp: Ensure telnet uses STP talloc context, not NULL context

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu May 9 08:43:08 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/13933 )

Change subject: stp: Ensure telnet uses STP talloc context, not NULL context
......................................................................

stp: Ensure telnet uses STP talloc context, not NULL context

Change-Id: I38a9538dc93cdcecbeb236f0eadc3d675cf20b5d
---
M stp/stp_main.c
1 file changed, 1 insertion(+), 1 deletion(-)

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



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

-- 
To view, visit https://gerrit.osmocom.org/13933
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I38a9538dc93cdcecbeb236f0eadc3d675cf20b5d
Gerrit-Change-Number: 13933
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190509/496b145a/attachment.html>


More information about the gerrit-log mailing list