Index: radius/radius_pdu.c
===================================================================
RCS file: /home/cvs/gateway/radius/radius_pdu.c,v
retrieving revision 1.11
diff -a -u -r1.11 radius_pdu.c
--- radius/radius_pdu.c	12 Jan 2009 16:46:51 -0000	1.11
+++ radius/radius_pdu.c	3 Apr 2010 14:54:00 -0000
@@ -72,6 +72,8 @@
 #define MIN_RADIUS_PDU_LEN  20
 #define MAX_RADIUS_PDU_LEN  4095 
 
+static void radius_attr_dump(RADIUS_PDU *pdu);
+void radius_pdu_dump(RADIUS_PDU *pdu);
 
 static unsigned long decode_integer(Octstr *os, long pos, int octets)
 {
@@ -355,6 +357,7 @@
             }                                                                                        \
         }                                                                                          
     #include "radius_attributes.def"
+    radius_attr_dump(*pdu);
 }
 
 RADIUS_PDU *radius_pdu_unpack(Octstr *data_without_len)
@@ -409,6 +412,7 @@
 
     parse_context_destroy(context);
     octstr_destroy(authenticator);
+    radius_pdu_dump(pdu);
 
     return pdu;
 }
