Fix: Call e1inp_vty_init() before reading config file
This commit is contained in:
parent
129bc60c77
commit
9bb1a4a36a
|
@ -234,7 +234,6 @@ struct e1inp_line *abis_open(struct gsm_bts *bts, const char *dst_host,
|
|||
g_bts = bts;
|
||||
|
||||
oml_init();
|
||||
e1inp_vty_init();
|
||||
libosmo_abis_init(NULL);
|
||||
|
||||
osmo_signal_register_handler(SS_L_INPUT, &inp_s_cbfn, bts);
|
||||
|
|
|
@ -314,6 +314,7 @@ int main(int argc, char **argv)
|
|||
|
||||
bts = gsm_bts_alloc(tall_bts_ctx);
|
||||
vty_init(&bts_vty_info);
|
||||
e1inp_vty_init();
|
||||
bts_vty_init(bts, &bts_log_info);
|
||||
|
||||
handle_options(argc, argv);
|
||||
|
|
|
@ -309,6 +309,7 @@ int main(int argc, char **argv)
|
|||
}
|
||||
|
||||
vty_init(&bts_vty_info);
|
||||
e1inp_vty_init();
|
||||
bts_vty_init(bts, &bts_log_info);
|
||||
|
||||
if (bts_init(bts) < 0) {
|
||||
|
|
Loading…
Reference in New Issue