Changeset 516:1c2f5ee38039 in freeDiameter for extensions/app_radgw/radius.c
- Timestamp:
- Aug 27, 2010, 10:59:51 AM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/app_radgw/radius.c
r254 r516 4 4 * It is redistributed under the terms of the BSD license, as allowed 5 5 * by the original copyright reproduced bellow. 6 * In addition to this notice, only the #include directives have been modified. 6 * In addition to this notice, the following changes have been done: 7 * - created the radius_msg_dump_attr_val function 7 8 */ 8 9 #include "rgw_common.h" … … 218 219 219 220 220 static void radius_msg_dump_attr(struct radius_attr_hdr *hdr)221 void radius_msg_dump_attr_val(struct radius_attr_hdr *hdr) 221 222 { 222 223 struct radius_attr_type *attr; … … 225 226 226 227 attr = radius_get_attr_type(hdr->type); 227 228 printf(" Attribute %d (%s) length=%d\n",229 hdr->type, attr ? attr->name : "?Unknown?", hdr->length);230 228 231 229 if (attr == NULL) … … 283 281 break; 284 282 } 283 } 284 285 static void radius_msg_dump_attr(struct radius_attr_hdr *hdr) 286 { 287 struct radius_attr_type *attr; 288 289 attr = radius_get_attr_type(hdr->type); 290 291 printf(" Attribute %d (%s) length=%d\n", 292 hdr->type, attr ? attr->name : "?Unknown?", hdr->length); 293 294 radius_msg_dump_attr_val(hdr); 285 295 } 286 296
Note: See TracChangeset
for help on using the changeset viewer.