diff options
author | Harald Welte <laforge@gnumonks.org> | 2014-08-24 17:54:49 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2014-08-24 17:54:49 +0200 |
commit | 55dc31e7812fec9ab9f013702cdfd2203a778071 (patch) | |
tree | bf6a26fd4ccff7709ae386ef32c985a393f75e7d /openbsc/src/gprs/gb_proxy_main.c | |
parent | 6e688082476310be0192a17440a3432bcbb7128e (diff) |
Use port number #defines for VTY and CTRL ports
.. as defined in libosmocore
Diffstat (limited to 'openbsc/src/gprs/gb_proxy_main.c')
-rw-r--r-- | openbsc/src/gprs/gb_proxy_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gb_proxy_main.c b/openbsc/src/gprs/gb_proxy_main.c index 149253b53..03299df95 100644 --- a/openbsc/src/gprs/gb_proxy_main.c +++ b/openbsc/src/gprs/gb_proxy_main.c @@ -48,6 +48,7 @@ #include <osmocom/vty/command.h> #include <osmocom/vty/telnet_interface.h> #include <osmocom/vty/logging.h> +#include <osmocom/vty/ports.h> #include "../../bscconfig.h" @@ -250,7 +251,7 @@ int main(int argc, char **argv) rate_ctr_init(tall_bsc_ctx); - rc = telnet_init(tall_bsc_ctx, &dummy_network, 4246); + rc = telnet_init(tall_bsc_ctx, &dummy_network, OSMO_VTY_PORT_GBPROXY); if (rc < 0) exit(1); |