From 28ed36fa90546011c0c4e9d880a8cf3d67febf10 Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Sun, 19 May 2024 17:22:31 +0300 Subject: [PATCH] Use NOTICE level and tell who sent the bad ACK --- src/sip/transp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sip/transp.c b/src/sip/transp.c index 69b88b416..df5685fb6 100644 --- a/src/sip/transp.c +++ b/src/sip/transp.c @@ -333,9 +333,10 @@ static void sip_recv(struct sip *sip, const struct sip_msg *msg, } if (msg->req) { - if (!have_essential_fields(msg)){ + if (!have_essential_fields(msg)) { if (!pl_strcmp(&msg->met, "ACK")) - DEBUG_WARNING("Received bad ACK request\n"); + DEBUG_NOTICE("received bad ACK request from %r\n", + &(msg->from.auri)); else (void)sip_reply(sip, msg, 400, "Bad Request"); return;