fixeria has submitted this change. ( 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(-)
Approvals: msuraev: Looks good to me, but someone else must approve Jenkins Builder: Verified pespin: Looks good to me, approved
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);