diff options
Diffstat (limited to 'src/hlr_vty.c')
-rw-r--r-- | src/hlr_vty.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/hlr_vty.c b/src/hlr_vty.c index ecc2f5c..ae27975 100644 --- a/src/hlr_vty.c +++ b/src/hlr_vty.c @@ -32,8 +32,6 @@ #include "hlr_vty_subscr.h" #include "gsup_server.h" -static struct hlr *g_hlr = NULL; - struct cmd_node hlr_node = { HLR_NODE, "%s(config-hlr)# ", @@ -152,10 +150,8 @@ int hlr_vty_is_config_node(struct vty *vty, int node) } } -void hlr_vty_init(struct hlr *hlr, const struct log_info *cat) +void hlr_vty_init(const struct log_info *cat) { - g_hlr = hlr; - logging_vty_add_cmds(cat); osmo_talloc_vty_add_cmds(); @@ -169,5 +165,5 @@ void hlr_vty_init(struct hlr *hlr, const struct log_info *cat) install_element(GSUP_NODE, &cfg_hlr_gsup_bind_ip_cmd); - hlr_vty_subscriber_init(hlr); + hlr_vty_subscriber_init(); } |