Navigation


Changeset 553:153cd2600fcf in freeDiameter for extensions/app_radgw/radius.c


Ignore:
Timestamp:
Sep 15, 2010, 2:52:24 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Fix another issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_radgw/radius.c

    r552 r553  
    310310}
    311311
    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  */
     313void rgw_msg_dump(struct rgw_radius_msg_meta * msg, int has_meta)
    314314{
    315315        unsigned char *auth;
     
    331331                radius_msg_dump_attr_val(attr);
    332332        }
    333         if (msg->ps_nb) {
     333        if (has_meta && msg->ps_nb) {
    334334                fd_log_debug("---- hidden attributes:\n");
    335335                for (i = msg->ps_first; i < msg->ps_first + msg->ps_nb; i++) {
Note: See TracChangeset for help on using the changeset viewer.