gtphub: include ports.h instead of redefining OSMO_VTY_PORT_GTPHUB
diff --git a/openbsc/src/gprs/gtphub_main.c b/openbsc/src/gprs/gtphub_main.c
index bfb0a3d..9870bd9 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;