path: root/src/host/trxcon/trxcon.c
diff options
authorHarald Welte <>2018-03-01 14:40:32 +0100
committerHarald Welte <>2018-03-01 14:42:25 +0100
commit0d3030c76405fbcf3d8cbcb61547eee53aec02b3 (patch)
tree13fec2319a05829620f2a2568d6e694d42baad19 /src/host/trxcon/trxcon.c
parent380dc7e768c944ab0efc28f24205334a4c736a42 (diff)
trxcon: Fix '-i' to specify the "TRX IP address"
The command line help states '-i' is for 'TRX IP address', which is the remote IP address at which the TRX is to be found. Hoewever, it was used as the local (bind) IP address of the socket used towards the TRX. This is my attempt at fixing this. A more complete solution probably allows to specify both local (bind) and remote (connect) address, just to be clear. Change-Id: If0252b15e9c7942687c6dc470951d777f7af651c
Diffstat (limited to 'src/host/trxcon/trxcon.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/trxcon/trxcon.c b/src/host/trxcon/trxcon.c
index 60db8878..55422403 100644
--- a/src/host/trxcon/trxcon.c
+++ b/src/host/trxcon/trxcon.c
@@ -270,7 +270,7 @@ int main(int argc, char **argv)
goto exit;
/* Init transceiver interface */
- rc = trx_if_open(&app_data.trx, app_data.trx_ip, app_data.trx_base_port);
+ rc = trx_if_open(&app_data.trx, "", app_data.trx_ip, app_data.trx_base_port);
if (rc)
goto exit;