Mercurial > hg > freeDiameter
diff extensions/app_radgw/rgw_msg.c @ 518:2c097ed9d0ea
Fix the dump function
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Fri, 27 Aug 2010 11:25:46 +0900 |
parents | d5383f28b96e |
children | 4c935aecee6c |
line wrap: on
line diff
--- a/extensions/app_radgw/rgw_msg.c Fri Aug 27 11:14:17 2010 +0900 +++ b/extensions/app_radgw/rgw_msg.c Fri Aug 27 11:25:46 2010 +0900 @@ -98,7 +98,7 @@ auth[12], auth[13], auth[14], auth[15]); for (i = 0; i < msg->radius.attr_used; i++) { struct radius_attr_hdr *attr = (struct radius_attr_hdr *)(msg->radius.buf + msg->radius.attr_pos[i]); - fd_log_debug(" - type: 0x%02hhx (%s)\n len: %3hhu,", attr->length, attr->type, rgw_msg_attrtype_str(attr->type)); + fd_log_debug(" - Type: 0x%02hhx (%s)\n Len: %-3hhu", attr->type, rgw_msg_attrtype_str(attr->type), attr->length); radius_msg_dump_attr_val(attr); } fd_log_debug("-----------------------------\n");