[PATCH] osmocom-bb[fixeria/trx]: trxcon: change default port number to 5703 to avoid clashes ...

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Feb 22 16:11:45 UTC 2018

Review at  https://gerrit.osmocom.org/6839

trxcon: change default port number to 5703 to avoid clashes with osmo-bts-trx

See https://osmocom.org/issues/2984 for the kind of issue I'm trying to
avoid with this patch.  Let's make sure that the default configuration
cannot fail in weird ways.

Change-Id: I66b5f25aaba3b836448ed29839c39869b5622bed
Related: OS#2984
M src/host/trxcon/trxcon.c
1 file changed, 2 insertions(+), 2 deletions(-)

  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/39/6839/1

diff --git a/src/host/trxcon/trxcon.c b/src/host/trxcon/trxcon.c
index 07ab169..9c590ac 100644
--- a/src/host/trxcon/trxcon.c
+++ b/src/host/trxcon/trxcon.c
@@ -143,7 +143,7 @@
 	printf("  -h --help         this text\n");
 	printf("  -d --debug        Change debug flags. Default: %s\n", DEBUG_DEFAULT);
 	printf("  -i --trx-ip       IP address of host runing TRX (default\n");
-	printf("  -p --trx-port     Base port of TRX instance (default 5700)\n");
+	printf("  -p --trx-port     Base port of TRX instance (default 5703)\n");
 	printf("  -f --trx-advance  Scheduler clock advance (default 20)\n");
 	printf("  -s --socket       Listening socket for layer23 (default /tmp/osmocom_l2)\n");
 	printf("  -D --daemonize    Run as daemon\n");
@@ -203,7 +203,7 @@
 	app_data.bind_socket = "/tmp/osmocom_l2";
 	app_data.trx_ip = "";
-	app_data.trx_base_port = 5700;
+	app_data.trx_base_port = 5703;
 	app_data.trx_fn_advance = 20;
 	app_data.debug_mask = NULL;

To view, visit https://gerrit.osmocom.org/6839
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I66b5f25aaba3b836448ed29839c39869b5622bed
Gerrit-PatchSet: 1
Gerrit-Project: osmocom-bb
Gerrit-Branch: fixeria/trx
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>

More information about the gerrit-log mailing list