diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-10-04 16:26:37 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-10-04 16:48:35 +0700 |
commit | b4bac732455a4cfd31581a688de0beca25b277b0 (patch) | |
tree | 77f80518eae8cd10d98f05d54ea790508992043b /src/sccp_vty.c | |
parent | 7a4f614ba912241fabfaa73d1efc8f17ad8d6275 (diff) |
vty: use install_lib_element() and install_lib_element_ve()
See https://lists.osmocom.org/pipermail/openbsc/2020-October/013278.html.
Change-Id: I727e27f4d4d9550e34cb0073134a9ed7faae3c66
Depends: I8baf31ace93c536421893c2aa4e3d9d298dcbcc6
Related: SYS#4937
Diffstat (limited to 'src/sccp_vty.c')
-rw-r--r-- | src/sccp_vty.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sccp_vty.c b/src/sccp_vty.c index 46afb49..2e5b345 100644 --- a/src/sccp_vty.c +++ b/src/sccp_vty.c @@ -255,11 +255,11 @@ DEFUN(show_sccp_timers, show_sccp_timers_cmd, void osmo_sccp_vty_init(void) { - install_element_ve(&show_sccp_users_cmd); - install_element_ve(&show_sccp_user_ssn_cmd); - install_element_ve(&show_sccp_connections_cmd); + install_lib_element_ve(&show_sccp_users_cmd); + install_lib_element_ve(&show_sccp_user_ssn_cmd); + install_lib_element_ve(&show_sccp_connections_cmd); - install_element_ve(&show_sccp_timers_cmd); + install_lib_element_ve(&show_sccp_timers_cmd); gen_sccp_timer_cmd_strs(&sccp_timer_cmd); - install_element(L_CS7_NODE, &sccp_timer_cmd); + install_lib_element(L_CS7_NODE, &sccp_timer_cmd); } |