Parcourir la source

cdp: small (commented out) debugging helper

Henning Westerholt il y a 5 ans
Parent
commit
53f9992e1a
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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);