Changeset 553:153cd2600fcf in freeDiameter for extensions/app_radgw/radius.c
- Timestamp:
- Sep 15, 2010, 2:52:24 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/app_radgw/radius.c
r552 r553 310 310 } 311 311 312 /* Dump a message -- can be used safely with a struct radius_msg as parameter (we don't dump the metadata)*/313 void rgw_msg_dump(struct rgw_radius_msg_meta * msg )312 /* Dump a message */ 313 void rgw_msg_dump(struct rgw_radius_msg_meta * msg, int has_meta) 314 314 { 315 315 unsigned char *auth; … … 331 331 radius_msg_dump_attr_val(attr); 332 332 } 333 if ( msg->ps_nb) {333 if (has_meta && msg->ps_nb) { 334 334 fd_log_debug("---- hidden attributes:\n"); 335 335 for (i = msg->ps_first; i < msg->ps_first + msg->ps_nb; i++) {
Note: See TracChangeset
for help on using the changeset viewer.