pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/29450 )
Change subject: vty: Fix SPEECH_MODE printed with hex prefix but dec value ......................................................................
vty: Fix SPEECH_MODE printed with hex prefix but dec value
Change-Id: I597ff582f47b00d895611eae8a810fe3ebfe8339 --- M src/common/vty.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/50/29450/1
diff --git a/src/common/vty.c b/src/common/vty.c index ffe4baf..3cd76fb 100644 --- a/src/common/vty.c +++ b/src/common/vty.c @@ -1946,7 +1946,7 @@ } if (lchan->abis_ip.connect_ip) { ia.s_addr = htonl(lchan->abis_ip.connect_ip); - vty_out(vty, " Conn. IP: %s Port %u RTP_TYPE=%u SPEECH_MODE=0x%02u%s", + vty_out(vty, " Conn. IP: %s Port %u RTP_TYPE=%u SPEECH_MODE=0x%02x%s", inet_ntoa(ia), lchan->abis_ip.connect_port, lchan->abis_ip.rtp_payload, lchan->abis_ip.speech_mode, VTY_NEWLINE);