pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-netif/+/30165 )
Change subject: osmux: Fix endianness logging duplicaed seqnum ......................................................................
osmux: Fix endianness logging duplicaed seqnum
Change-Id: I431d3a64e971bd7ba2bed007265559af876bc10b --- M src/osmux_input.c 1 file changed, 2 insertions(+), 3 deletions(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved pespin: Looks good to me, but someone else must approve
diff --git a/src/osmux_input.c b/src/osmux_input.c index 2d0b752..fb246a5 100644 --- a/src/osmux_input.c +++ b/src/osmux_input.c @@ -476,9 +476,8 @@
/* Already exists message with this sequence, skip */ if (rtph2->sequence == rtph->sequence) { - LOGP(DLMUX, LOGL_ERROR, "already exists " - "message with seq=%u, skip it\n", - rtph->sequence); + LOGP(DLMUX, LOGL_ERROR, "RTP pkt with seq=%u already exists, skip it\n", + ntohs(rtph->sequence)); return -1; } }