path: root/src/host/trxcon/trxcon.c
diff options
authorHarald Welte <>2018-02-22 16:10:01 +0100
committerVadim Yanitskiy <>2018-02-23 17:02:20 +0700
commit05ea7248f8e6c1aed7665efa82eeb92264027f86 (patch)
tree7eb63b8413e54b6c7a624ef4ff8e1e676301432c /src/host/trxcon/trxcon.c
parent318f8b78aad5961eba6b179f84e772bff759ade3 (diff)
trxcon|fake_trx: change default TRX port number to 6700
In order to avoid clashes with OsmoTRX, which may be also running on the same host, let's use a different port range starting from 6700 by default. This idea was introduced as a result of OS#2984. Change-Id: I66b5f25aaba3b836448ed29839c39869b5622bed Related: OS#2984
Diffstat (limited to 'src/host/trxcon/trxcon.c')
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/trxcon/trxcon.c b/src/host/trxcon/trxcon.c
index 07ab1698..0250b726 100644
--- a/src/host/trxcon/trxcon.c
+++ b/src/host/trxcon/trxcon.c
@@ -143,7 +143,7 @@ static void print_help(void)
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 6700)\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 @@ static void init_defaults(void)
app_data.bind_socket = "/tmp/osmocom_l2";
app_data.trx_ip = "";
- app_data.trx_base_port = 5700;
+ app_data.trx_base_port = 6700;
app_data.trx_fn_advance = 20;
app_data.debug_mask = NULL;