diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-09-01 12:04:49 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-09-22 16:39:04 +0200 |
commit | 04b5d655752d7afeb94018765ae08b1d7b0f91c5 (patch) | |
tree | 0e4b93b79c94518450c2cfd81a3f62004ad73073 /src/osmo-bts-sysmo/main.c | |
parent | 90e543bd83b60a6a5823888354c47dd5d9ba99ac (diff) |
Move gsmtap VTY commands from osmo-bts-sysmo to common part
Diffstat (limited to 'src/osmo-bts-sysmo/main.c')
-rw-r--r-- | src/osmo-bts-sysmo/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bts-sysmo/main.c b/src/osmo-bts-sysmo/main.c index 1150310c..3b95bd6e 100644 --- a/src/osmo-bts-sysmo/main.c +++ b/src/osmo-bts-sysmo/main.c @@ -308,8 +308,9 @@ int main(int argc, char **argv) bts_log_init(NULL); + bts = gsm_bts_alloc(tall_bts_ctx); vty_init(&bts_vty_info); - bts_vty_init(&bts_log_info); + bts_vty_init(bts, &bts_log_info); handle_options(argc, argv); @@ -325,7 +326,6 @@ int main(int argc, char **argv) } } - bts = gsm_bts_alloc(tall_bts_ctx); if (bts_init(bts) < 0) { fprintf(stderr, "unable to open bts\n"); exit(1); |