Browse Source

cdp: small (commented out) debugging helper

Henning Westerholt 5 years ago
parent
commit
53f9992e1a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/modules/cdp/diameter_msg.c

+ 1 - 0
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);