pespin has submitted this change. (
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(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
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);
--
To view, visit
https://gerrit.osmocom.org/c/osmo-bts/+/29450
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I597ff582f47b00d895611eae8a810fe3ebfe8339
Gerrit-Change-Number: 29450
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged