diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2018-08-10 00:01:26 +0700 |
---|---|---|
committer | Piotr Krysik <ptrkrysik@gmail.com> | 2018-09-13 15:35:44 +0200 |
commit | f94a51b64d8822c80d5cf45997434e98a97b5739 (patch) | |
tree | 34a90f1f21d4e73f42c4c00c378c1e9d9fb7e5d8 /grc | |
parent | 053f9e53f0f30b652f3d48310c05efecde0a88ea (diff) |
gsm_trx_burst_if: allow to customize the bind address
Pleviously remote address for DATA interface was also used as the
bind address, what is definitely wrong. Let's change the API a bit
in order to allow one to specify a custom bind address.
Change-Id: I6e5f7b7119ac454217b8dd04f9ee0dd3b23972b6
Diffstat (limited to 'grc')
-rw-r--r-- | grc/trx/gsm_trx_burst_if.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/grc/trx/gsm_trx_burst_if.xml b/grc/trx/gsm_trx_burst_if.xml index 99427b3..49979a3 100644 --- a/grc/trx/gsm_trx_burst_if.xml +++ b/grc/trx/gsm_trx_burst_if.xml @@ -3,7 +3,7 @@ <name>TRX Burst Interface</name> <key>gsm_trx_burst_if</key> <import>import grgsm</import> - <make>grgsm.trx_burst_if($remote_addr, $base_port)</make> + <make>grgsm.trx_burst_if($bind_addr, $remote_addr, $base_port)</make> <param> <name>base_port</name> @@ -13,6 +13,13 @@ </param> <param> + <name>bind_addr</name> + <key>bind_addr</key> + <value>0.0.0.0</value> + <type>string</type> + </param> + + <param> <name>remote_addr</name> <key>remote_addr</key> <value>127.0.0.1</value> |