Module: kamailio
Branch: master
Commit: 53f9992e1a0b646744f9ddc626d002306ed4db60
URL:
https://github.com/kamailio/kamailio/commit/53f9992e1a0b646744f9ddc626d0023…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
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/53f9992e1a0b646744f9ddc626d0023…
Patch:
https://github.com/kamailio/kamailio/commit/53f9992e1a0b646744f9ddc626d0023…
---
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);