vty: Fix SPEECH_MODE printed with hex prefix but dec value

Change-Id: I597ff582f47b00d895611eae8a810fe3ebfe8339
This commit is contained in:
Pau Espin 2022-09-22 13:25:49 +02:00
parent bbec5df6c7
commit ff5c8787dd
1 changed files with 1 additions and 1 deletions

View File

@ -1946,7 +1946,7 @@ static void lchan_dump_full_vty(struct vty *vty, const struct gsm_lchan *lchan)
}
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);