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/.
dexter gerrit-no-reply at lists.osmocom.org
vty: move sccp_addressbook from _sg to _asp
The installation of the vty commands for the sccp addressbook is
currently located in osmo_ss7_vty_init_sg(), but should be located
in osmo_ss7_vty_init_asp()
Change-Id: Ib49ab623055e9ada7f95e0163ba7e33c5f6f99cb
---
M src/osmo_ss7_vty.c
1 file changed, 20 insertions(+), 20 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/03/3103/2
diff --git a/src/osmo_ss7_vty.c b/src/osmo_ss7_vty.c
index f33303e..5e44e1b 100644
--- a/src/osmo_ss7_vty.c
+++ b/src/osmo_ss7_vty.c
@@ -1633,26 +1633,6 @@
void osmo_ss7_vty_init_asp(void)
{
vty_init_shared();
-}
-
-void osmo_ss7_vty_init_sg(void)
-{
- vty_init_shared();
-
- install_node(&rtable_node, NULL);
- vty_install_default(L_CS7_RTABLE_NODE);
- install_element_ve(&show_cs7_route_cmd);
- install_element(L_CS7_NODE, &cs7_route_table_cmd);
- install_element(L_CS7_RTABLE_NODE, &cfg_description_cmd);
- install_element(L_CS7_RTABLE_NODE, &cs7_rt_upd_cmd);
- install_element(L_CS7_RTABLE_NODE, &cs7_rt_rem_cmd);
-
- install_node(&xua_node, NULL);
- vty_install_default(L_CS7_XUA_NODE);
- install_element(L_CS7_NODE, &cs7_xua_cmd);
- install_element(L_CS7_NODE, &no_cs7_xua_cmd);
- install_element(L_CS7_XUA_NODE, &xua_local_ip_cmd);
- install_element(L_CS7_XUA_NODE, &xua_accept_dyn_asp_cmd);
/* Commands for SCCP-Addressbook */
install_node(&sccpaddr_node, NULL);
@@ -1687,6 +1667,26 @@
install_element(L_CS7_SCCPADDR_GT_NODE, &cs7_sccpaddr_gt_digits_cmd);
}
+void osmo_ss7_vty_init_sg(void)
+{
+ vty_init_shared();
+
+ install_node(&rtable_node, NULL);
+ vty_install_default(L_CS7_RTABLE_NODE);
+ install_element_ve(&show_cs7_route_cmd);
+ install_element(L_CS7_NODE, &cs7_route_table_cmd);
+ install_element(L_CS7_RTABLE_NODE, &cfg_description_cmd);
+ install_element(L_CS7_RTABLE_NODE, &cs7_rt_upd_cmd);
+ install_element(L_CS7_RTABLE_NODE, &cs7_rt_rem_cmd);
+
+ install_node(&xua_node, NULL);
+ vty_install_default(L_CS7_XUA_NODE);
+ install_element(L_CS7_NODE, &cs7_xua_cmd);
+ install_element(L_CS7_NODE, &no_cs7_xua_cmd);
+ install_element(L_CS7_XUA_NODE, &xua_local_ip_cmd);
+ install_element(L_CS7_XUA_NODE, &xua_accept_dyn_asp_cmd);
+}
+
void osmo_ss7_set_vty_alloc_ctx(void *ctx)
{
g_ctx = ctx;
--
To view, visit https://gerrit.osmocom.org/3103
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib49ab623055e9ada7f95e0163ba7e33c5f6f99cb
Gerrit-PatchSet: 2
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder