[sr-dev] git:master:53f9992e: cdp: small (commented out) debugging helper

Henning Westerholt hw at skalatan.de
Thu Jun 11 12:45:58 CEST 2020


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

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at 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/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);




More information about the sr-dev mailing list