Module: kamailio
Branch: master
Commit: 53f9992e1a0b646744f9ddc626d002306ed4db60
URL: 
https://github.com/kamailio/kamailio/commit/53f9992e1a0b646744f9ddc626d002306ed4db60

Author: Henning Westerholt <[email protected]>
Committer: Henning Westerholt <[email protected]>
Date: 2020-06-11T10:45:33Z

cdp: small (commented out) debugging helper

---

Modified: src/modules/cdp/diameter_msg.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/53f9992e1a0b646744f9ddc626d002306ed4db60.diff
Patch: 
https://github.com/kamailio/kamailio/commit/53f9992e1a0b646744f9ddc626d002306ed4db60.patch

---

diff --git a/src/modules/cdp/diameter_msg.c b/src/modules/cdp/diameter_msg.c
index 464a3504e1..605109ae41 100644
--- a/src/modules/cdp/diameter_msg.c
+++ b/src/modules/cdp/diameter_msg.c
@@ -76,6 +76,7 @@ AAAReturnCode AAABuildMsgBuffer( AAAMessage *msg )
        /* count and add the avps */
        for(avp=msg->avpList.head;avp;avp=avp->next) {
                msg->buf.len += AVP_HDR_SIZE(avp->flags)+ to_32x_len( 
avp->data.len );
+               //LM_DBG("AVP code: %d, data %.*s\n", avp->code, avp->data.len, 
avp->data.s);
        }
 
        LM_DBG("AAABuildMsgBuffer(): len=%d\n",msg->buf.len);


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to