trxcon: Fix '-i' to specify the "TRX IP address"
commit0d3030c76405fbcf3d8cbcb61547eee53aec02b3
authorHarald Welte <laforge@gnumonks.org>
Thu, 1 Mar 2018 13:40:32 +0000 (1 14:40 +0100)
committerHarald Welte <laforge@gnumonks.org>
Thu, 1 Mar 2018 13:42:25 +0000 (1 14:42 +0100)
tree13fec2319a05829620f2a2568d6e694d42baad19
parent380dc7e768c944ab0efc28f24205334a4c736a42
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
src/host/trxcon/trx_if.c
src/host/trxcon/trx_if.h
src/host/trxcon/trxcon.c