mirror of https://gerrit.osmocom.org/osmo-pcap
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:
parent
50cc638ac7
commit
4e934bb546
|
@ -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()
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue