diff options
Diffstat (limited to 'src/osmo-bts-sysmo')
-rw-r--r-- | src/osmo-bts-sysmo/main.c | 3 | ||||
-rw-r--r-- | src/osmo-bts-sysmo/misc/sysmobts_mgr.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/osmo-bts-sysmo/main.c b/src/osmo-bts-sysmo/main.c index 569b488d..51619ee9 100644 --- a/src/osmo-bts-sysmo/main.c +++ b/src/osmo-bts-sysmo/main.c @@ -37,6 +37,7 @@ #include <osmocom/core/application.h> #include <osmocom/vty/telnet_interface.h> #include <osmocom/vty/logging.h> +#include <osmocom/vty/ports.h> #include <osmo-bts/gsm_data.h> #include <osmo-bts/logging.h> @@ -354,7 +355,7 @@ int main(int argc, char **argv) bts_controlif_setup(bts); sysmobts_ctrlif_inst_cmds(); - rc = telnet_init(tall_bts_ctx, NULL, 4241); + rc = telnet_init(tall_bts_ctx, NULL, OSMO_VTY_PORT_BTS); if (rc < 0) { fprintf(stderr, "Error initializing telnet\n"); exit(1); diff --git a/src/osmo-bts-sysmo/misc/sysmobts_mgr.c b/src/osmo-bts-sysmo/misc/sysmobts_mgr.c index 484e08ff..ea83fb60 100644 --- a/src/osmo-bts-sysmo/misc/sysmobts_mgr.c +++ b/src/osmo-bts-sysmo/misc/sysmobts_mgr.c @@ -35,6 +35,7 @@ #include <osmocom/core/msgb.h> #include <osmocom/vty/telnet_interface.h> #include <osmocom/vty/logging.h> +#include <osmocom/vty/ports.h> #include "misc/sysmobts_misc.h" #include "misc/sysmobts_mgr.h" @@ -267,7 +268,7 @@ int main(int argc, char **argv) exit(1); } - rc = telnet_init(tall_msgb_ctx, NULL, 4252); + rc = telnet_init(tall_msgb_ctx, NULL, OSMO_VTY_PORT_BTSMGR); if (rc < 0) { fprintf(stderr, "Error initializing telnet\n"); exit(1); |