Change in ...osmo-iuh[master]: hnbgw_vty.c: fix: properly pass pointer to g_hnb_gw

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Thu Aug 22 22:28:32 UTC 2019


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-iuh/+/15268


Change subject: hnbgw_vty.c: fix: properly pass pointer to g_hnb_gw
......................................................................

hnbgw_vty.c: fix: properly pass pointer to g_hnb_gw

Otherwise the process hangs if the user enters:

  $ show hnb NAME

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



  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/68/15268/1

diff --git a/src/hnbgw_vty.c b/src/hnbgw_vty.c
index 15fdaf8..84a5f01 100644
--- a/src/hnbgw_vty.c
+++ b/src/hnbgw_vty.c
@@ -231,7 +231,7 @@
 		return CMD_SUCCESS;
 	}
 
-	hnb = hnb_context_by_identity_info(&g_hnb_gw, identity_info);
+	hnb = hnb_context_by_identity_info(g_hnb_gw, identity_info);
 	if (hnb == NULL) {
 		vty_out(vty, "No HNB found with identity '%s'%s", identity_info, VTY_NEWLINE);
 		return CMD_SUCCESS;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/15268
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: I42fdb10af5f6427886b5797325830dfc212af30f
Gerrit-Change-Number: 15268
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190822/ea7e923f/attachment.htm>


More information about the gerrit-log mailing list