diff options
-rw-r--r-- | src/pcu_main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp index e34d534d..afdfdc75 100644 --- a/src/pcu_main.cpp +++ b/src/pcu_main.cpp @@ -32,6 +32,7 @@ extern "C" { #include "pcu_vty.h" #include <osmocom/vty/telnet_interface.h> #include <osmocom/vty/logging.h> +#include <osmocom/vty/ports.h> #include <osmocom/core/stats.h> #include <osmocom/core/gsmtap.h> #include <osmocom/core/gsmtap_util.h> @@ -250,7 +251,7 @@ int main(int argc, char *argv[]) fprintf(stderr, "No config file: '%s' Using default config.\n", config_file); - rc = telnet_init(tall_pcu_ctx, NULL, 4240); + rc = telnet_init(tall_pcu_ctx, NULL, OSMO_VTY_PORT_PCU); if (rc < 0) { fprintf(stderr, "Error initializing telnet\n"); exit(1); |