summaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc_mgcp
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-08-24 17:54:49 +0200
committerHarald Welte <laforge@gnumonks.org>2014-08-24 17:54:49 +0200
commit55dc31e7812fec9ab9f013702cdfd2203a778071 (patch)
treebf6a26fd4ccff7709ae386ef32c985a393f75e7d /openbsc/src/osmo-bsc_mgcp
parent6e688082476310be0192a17440a3432bcbb7128e (diff)
Use port number #defines for VTY and CTRL ports
.. as defined in libosmocore
Diffstat (limited to 'openbsc/src/osmo-bsc_mgcp')
-rw-r--r--openbsc/src/osmo-bsc_mgcp/mgcp_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/osmo-bsc_mgcp/mgcp_main.c b/openbsc/src/osmo-bsc_mgcp/mgcp_main.c
index 16fb72231..bee127680 100644
--- a/openbsc/src/osmo-bsc_mgcp/mgcp_main.c
+++ b/openbsc/src/osmo-bsc_mgcp/mgcp_main.c
@@ -44,7 +44,7 @@
#include <osmocom/vty/telnet_interface.h>
#include <osmocom/vty/logging.h>
-
+#include <osmocom/vty/ports.h>
#include <osmocom/vty/command.h>
#include "../../bscconfig.h"
@@ -228,7 +228,7 @@ int main(int argc, char **argv)
if (rc < 0)
return rc;
- rc = telnet_init(tall_bsc_ctx, &dummy_network, 4243);
+ rc = telnet_init(tall_bsc_ctx, &dummy_network, OSMO_VTY_PORT_BSC_MGCP);
if (rc < 0)
return rc;