aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-10-04 16:37:47 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-10-04 16:48:47 +0700
commit83417696dabb58b3e6d7e9169e9df60fceaefd8a (patch)
treedf6ef45e449f6a685f665398d6c67d1d05a1c289 /src
parent9074d91451b1ad85a428c9cb723cc6dd91d171f9 (diff)
vty: use install_lib_element() and install_lib_element_ve()
See https://lists.osmocom.org/pipermail/openbsc/2020-October/013278.html. Change-Id: I5c0a1efc21a5cc085b701be24dbcca1aaae15ee6 Depends: I8baf31ace93c536421893c2aa4e3d9d298dcbcc6 Related: SYS#4937
Diffstat (limited to 'src')
-rw-r--r--src/iu_client_vty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/iu_client_vty.c b/src/iu_client_vty.c
index a99facd..7388468 100644
--- a/src/iu_client_vty.c
+++ b/src/iu_client_vty.c
@@ -111,11 +111,11 @@ void ranap_iu_vty_init(int iu_parent_node, enum ranap_nsap_addr_enc *rab_assign_
{
g_rab_assign_addr_enc = rab_assign_addr_enc;
- install_element(iu_parent_node, &cfg_iu_rab_assign_addr_enc_cmd);
+ install_lib_element(iu_parent_node, &cfg_iu_rab_assign_addr_enc_cmd);
/* Technically, these are global ASN.1 settings and not necessarily limited to the Iu interface.
* Practically, only Iu users will use ASN.1 in Osmocom programs -- at least so far. So it is
* easiest to have these commands under 'iu'. */
- install_element(iu_parent_node, &cfg_iu_asn1_debug_cmd);
- install_element(iu_parent_node, &cfg_iu_asn1_xer_print_cmd);
+ install_lib_element(iu_parent_node, &cfg_iu_asn1_debug_cmd);
+ install_lib_element(iu_parent_node, &cfg_iu_asn1_xer_print_cmd);
}