summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-02-23 13:26:02 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-02-23 13:26:02 +0100
commit03933a49de0e3581ece2e562c336eee4933bc6c5 (patch)
tree784c871f668495dab5a00e4a20065f4fd9c3b437
parent389a62d752576d32f13bcf78a855ec0adaaec617 (diff)
gtphub: include ports.h instead of redefining OSMO_VTY_PORT_GTPHUB
-rw-r--r--openbsc/src/gprs/gtphub_main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/openbsc/src/gprs/gtphub_main.c b/openbsc/src/gprs/gtphub_main.c
index bfb0a3d9e..9870bd9f8 100644
--- a/openbsc/src/gprs/gtphub_main.c
+++ b/openbsc/src/gprs/gtphub_main.c
@@ -37,6 +37,7 @@
#include <osmocom/vty/logging.h>
#include <osmocom/vty/telnet_interface.h>
+#include <osmocom/vty/ports.h>
#include <openbsc/debug.h>
#include <openbsc/gtphub.h>
@@ -44,11 +45,6 @@
#include "../../bscconfig.h"
-#ifndef OSMO_VTY_PORT_GTPHUB
-/* should come from libosmocore */
-#define OSMO_VTY_PORT_GTPHUB 4253
-#endif
-
extern void *osmo_gtphub_ctx;