laforge submitted this change.
Drop use of deprecated vty is_config_node() cb
This callback was drepecated and is not ever called since
libosmocore.git 70ce871532ab21955e0955d7e230eae65438f047 (release 1.3.0).
See also libosmocore.git d31de237582f6fe3315d61bb9a488d4cda92654e.
Change-Id: Ib10b939fbec2620b22c739c57aecbf9d45c27898
---
M src/osysmon_main.c
1 file changed, 0 insertions(+), 11 deletions(-)
diff --git a/src/osysmon_main.c b/src/osysmon_main.c
index 2d5ebfa..0794630 100644
--- a/src/osysmon_main.c
+++ b/src/osysmon_main.c
@@ -44,16 +44,6 @@
return vty->node;
}
-static int osysmon_is_config_node(struct vty *vty, int node)
-{
- switch (node) {
- /* no non-config-nodes */
- default:
- return 1;
- }
-}
-
-
static struct vty_app_info vty_info = {
.name = "osysmon",
.copyright =
@@ -63,7 +53,6 @@
"There is NO WARRANTY, to the extent permitted by law.\r\n",
.version = PACKAGE_VERSION,
.go_parent_cb = osysmon_go_parent,
- .is_config_node = osysmon_is_config_node,
};
struct osysmon_state *g_oss;
To view, visit change 39681. To unsubscribe, or for help writing mail filters, visit settings.