Change in libosmocore[master]: gprs_ns2_vty2: initialize frame relay network

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

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Dec 22 14:45:11 UTC 2020


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/21846 )


Change subject: gprs_ns2_vty2: initialize frame relay network
......................................................................

gprs_ns2_vty2: initialize frame relay network

Change-Id: I21a074f14fcd8817ae8297dc36aa4b4046a85da0
---
M src/gb/gprs_ns2_vty2.c
1 file changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/46/21846/1

diff --git a/src/gb/gprs_ns2_vty2.c b/src/gb/gprs_ns2_vty2.c
index be44597..a1827d6 100644
--- a/src/gb/gprs_ns2_vty2.c
+++ b/src/gb/gprs_ns2_vty2.c
@@ -1593,6 +1593,10 @@
 	vty_nsi = nsi;
 	INIT_LLIST_HEAD(&binds);
 
+	vty_fr_network = osmo_fr_network_alloc(nsi);
+	if (!vty_fr_network)
+		return -ENOMEM;
+
 	install_lib_element_ve(&show_ns_cmd);
 	install_lib_element_ve(&show_ns_binds_cmd);
 	install_lib_element_ve(&show_ns_entities_cmd);

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I21a074f14fcd8817ae8297dc36aa4b4046a85da0
Gerrit-Change-Number: 21846
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201222/d181d8a0/attachment.htm>


More information about the gerrit-log mailing list