osmo_{client,server}_main: Remove is_config_node in vty_app_info

This member is deprcated/unused so simply remove it:

> 'is_config_node' is deprecated: Implicit parent node tracking has
> replaced the use of this callback. This callback is no longer called,
> ever, and can be left NULL.

Change-Id: I34295950557d9009b0d8d3378deb3b1263476f82
This commit is contained in:
Daniel Willmann 2023-02-28 11:12:48 +01:00
parent 50cc638ac7
commit 4e934bb546
3 changed files with 0 additions and 12 deletions

View File

@ -79,7 +79,6 @@ static struct vty_app_info vty_info = {
.name = "OsmoPCAPClient",
.version = PACKAGE_VERSION,
.go_parent_cb = osmopcap_go_parent,
.is_config_node = osmopcap_is_config_node,
};
static void print_usage()

View File

@ -88,13 +88,3 @@ int osmopcap_go_parent(struct vty *vty)
return vty->node;
}
int osmopcap_is_config_node(struct vty *vty, int node)
{
switch (node) {
case CONFIG_NODE:
return 0;
default:
return 1;
}
}

View File

@ -89,7 +89,6 @@ static struct vty_app_info vty_info = {
.name = "OsmoPCAPServer",
.version = PACKAGE_VERSION,
.go_parent_cb = osmopcap_go_parent,
.is_config_node = osmopcap_is_config_node,
};
static void print_usage()