diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-05-15 13:00:30 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-05-15 14:18:26 +0200 |
commit | d75c648871d1cae1d2cf4f74f60eaf07fb97ba73 (patch) | |
tree | 50b849d910083c824db4f6d18c7e98dcc00682d3 /src/osmo-bts-sysmo | |
parent | 8b5b993d29f751bf66fa9deabbe900fd9e193637 (diff) |
abis: Separate initialization from connect for Abis
Initialize the libosmo-abis VTY nodes more early so we can parse
the config file that was created by "write". Introduce abis_init
to initialize the libosmo-abis and modify abis_open to re-use an
existing line. Update the comments. This has only been tried with
the sysmobts-remote on x86. A TCP connection is opened toward the
configured BSC.
Fixes: SYS#285
Diffstat (limited to 'src/osmo-bts-sysmo')
-rw-r--r-- | src/osmo-bts-sysmo/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/main.c b/src/osmo-bts-sysmo/main.c index 921103e6..20cfe9c6 100644 --- a/src/osmo-bts-sysmo/main.c +++ b/src/osmo-bts-sysmo/main.c @@ -328,6 +328,8 @@ int main(int argc, char **argv) btsb = bts_role_bts(bts); btsb->support.ciphers = CIPHER_A5(1) | CIPHER_A5(2) | CIPHER_A5(3); + abis_init(bts); + rc = vty_read_config_file(config_file, NULL); if (rc < 0) { fprintf(stderr, "Failed to parse the config file: '%s'\n", |