fixeria has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-bts/+/31722 )
Change subject: GSMTAP: print 'gsmtap-local-host' if not NULL
......................................................................
GSMTAP: print 'gsmtap-local-host' if not NULL
Change-Id: If4f5a419b5af3f185219a879dcb2abb4eea45f1c
Fixes: f19f5331 "GSMTAP: allow configuring local address"
---
M src/common/vty.c
1 file changed, 14 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/22/31722/1
diff --git a/src/common/vty.c b/src/common/vty.c
index 76da14b..dd1b07f 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -440,6 +440,10 @@
vty_out(vty, " gsmtap-remote-host %s%s",
bts->gsmtap.remote_host,
VTY_NEWLINE);
+ if (bts->gsmtap.local_host != NULL)
+ vty_out(vty, " gsmtap-local-host %s%s",
+ bts->gsmtap.local_host,
+ VTY_NEWLINE);
for (i = 0; i < sizeof(uint32_t) * 8; i++) {
if (bts->gsmtap.sapi_mask & ((uint32_t) 1 << i)) {
sapi_buf = get_value_string_or_null(gsmtap_sapi_names, i);
--
To view, visit
https://gerrit.osmocom.org/c/osmo-bts/+/31722
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: If4f5a419b5af3f185219a879dcb2abb4eea45f1c
Gerrit-Change-Number: 31722
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange