mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-hlr.git
synced 2025-10-23 08:22:12 +00:00
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: I0a77ff4c0a880230116a361651c78c77328db989
This commit is contained in:
@@ -48,7 +48,6 @@ enum hlr_vty_node {
|
||||
#define A38_COMP128_KEY_LEN 16
|
||||
#define MILENAGE_KEY_LEN 16
|
||||
|
||||
int hlr_vty_is_config_node(struct vty *vty, int node);
|
||||
int hlr_vty_go_parent(struct vty *vty);
|
||||
void hlr_vty_init(void *hlr_ctx);
|
||||
void dgsm_vty_init(void);
|
||||
|
@@ -754,7 +754,6 @@ static struct vty_app_info vty_info = {
|
||||
.name = "OsmoHLR",
|
||||
.version = PACKAGE_VERSION,
|
||||
.copyright = vlr_copyright,
|
||||
.is_config_node = hlr_vty_is_config_node,
|
||||
.go_parent_cb = hlr_vty_go_parent,
|
||||
};
|
||||
|
||||
|
@@ -881,18 +881,6 @@ int hlr_vty_go_parent(struct vty *vty)
|
||||
return vty->node;
|
||||
}
|
||||
|
||||
int hlr_vty_is_config_node(struct vty *vty, int node)
|
||||
{
|
||||
switch (node) {
|
||||
/* add items that are not config */
|
||||
case CONFIG_NODE:
|
||||
return 0;
|
||||
|
||||
default:
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
void hlr_vty_init(void *hlr_ctx)
|
||||
{
|
||||
cfg_reject_cause_cmd.string =
|
||||
|
Reference in New Issue
Block a user