changeset 517:d5383f28b96e

Cleanup the RADIUS dump format
author Sebastien Decugis <sdecugis@nict.go.jp>
date Fri, 27 Aug 2010 11:14:17 +0900
parents 1c2f5ee38039
children 2c097ed9d0ea
files extensions/app_radgw/rgw_msg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/extensions/app_radgw/rgw_msg.c	Fri Aug 27 10:59:51 2010 +0900
+++ b/extensions/app_radgw/rgw_msg.c	Fri Aug 27 11:14:17 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("    - len:%3hhu, type:0x%02hhx (%s)\n", attr->length, attr->type, rgw_msg_attrtype_str(attr->type));
+		fd_log_debug("    - type: 0x%02hhx (%s)\n       len: %3hhu,", attr->length, attr->type, rgw_msg_attrtype_str(attr->type));
 		radius_msg_dump_attr_val(attr);
 	}
 	fd_log_debug("-----------------------------\n");
"Welcome to our mercurial repository"