move VTY and SCTP UECUPS sockets to port 4268
This is the port number listed on http://osmocom.org/projects/cellular-infrastructure/wiki/Port_Numbers
Change-Id: Ifd8a9418184147e1bb3d74192167207c981453de
diff --git a/daemon/main.c b/daemon/main.c
index 2375877..c49b771 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -421,6 +421,10 @@
* GTP Daemon
***********************************************************************/
+#ifndef OSMO_VTY_PORT_UECUPS
+#define OSMO_VTY_PORT_UECUPS 4268
+#endif
+
struct gtp_daemon *g_daemon;
static int g_daemonize;
static char *g_config_file = "osmo-gtpu-daemon.cfg";
@@ -441,7 +445,7 @@
INIT_LLIST_HEAD(&d->cups_clients);
d->cfg.cups_local_ip = talloc_strdup(d, "localhost");
- d->cfg.cups_local_port = 4300;
+ d->cfg.cups_local_port = UECUPS_SCTP_PORT;
return d;
}
@@ -504,7 +508,7 @@
exit(2);
}
- rc = telnet_init_dynif(ctx, NULL, vty_get_bind_addr(), OSMO_VTY_PORT_GGSN);
+ rc = telnet_init_dynif(ctx, NULL, vty_get_bind_addr(), OSMO_VTY_PORT_UECUPS);
if (rc < 0)
exit(1);