pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/libosmo-netif/+/30150 )


Change subject: osmux: Log AMR FT when incorrect AMR payload size detected
......................................................................

osmux: Log AMR FT when incorrect AMR payload size detected

Change-Id: Idd9712644d9a6204f1fe972cbbd393d4b7fd34f6
---
M src/osmux_input.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/50/30150/1

diff --git a/src/osmux_input.c b/src/osmux_input.c
index eff2423..c1cd2c6 100644
--- a/src/osmux_input.c
+++ b/src/osmux_input.c
@@ -313,8 +313,8 @@
        /* The AMR payload does not fit with what we expect */
        if (osmo_amr_bytes(amrh->ft) != amr_payload_len) {
                LOGP(DLMUX, LOGL_ERROR,
-                    "Bad AMR frame, expected %zd bytes, got %d bytes\n",
-                    osmo_amr_bytes(amrh->ft), amr_len);
+                    "Bad AMR frame FT=%u, expected %zd bytes, got %d bytes\n",
+                    amrh->ft, osmo_amr_bytes(amrh->ft), amr_len);
                return -1;
        }
        return amr_payload_len;

--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/30150
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: Idd9712644d9a6204f1fe972cbbd393d4b7fd34f6
Gerrit-Change-Number: 30150
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-MessageType: newchange

Reply via email to