Navigation


Changeset 162:79768bf7d208 in freeDiameter for extensions/acl_wl/aw_tree.c


Ignore:
Timestamp:
Jan 26, 2010, 1:23:03 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Completed whitelist extension

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/acl_wl/aw_tree.c

    r161 r162  
    230230                ti = (struct tree_item *)(senti->next);
    231231                if (ti->str == NULL) {
    232                         fd_log_debug("[acl_wl] Warning: entry '%s' is superseeded by a generic entry at level %d, ignoring.\n", name, lbl);
     232                        fd_log_debug("[acl_wl] Warning: entry '%s' is superseeded by a generic entry at label %d, ignoring.\n", name, lbl + 1);
    233233                        return 0;
    234234                }
     
    287287                        ti = (struct tree_item *)(senti->next);
    288288                        if (ti->str == NULL) {
    289                                 fd_log_debug("[acl_wl] Warning: entry '%s' is superseeded by a generic entry at level 0, ignoring.\n", name);
     289                                fd_log_debug("[acl_wl] Warning: entry '%s' is superseeded by a generic entry at label 1, ignoring.\n", name);
    290290                                return 0;
    291291                        }
     
    367367                ti = (struct tree_item *)(senti->next);
    368368                if (ti->str == NULL) {
    369                         TRACE_DEBUG(FULL, "[acl_wl] %s matched at level %d with a generic entry.", name, lbl);
     369                        TRACE_DEBUG(ANNOYING, "[acl_wl] %s matched at label %d with a generic entry.", name, lbl + 1);
    370370                        *result = ti->flags;
    371371                        return 0;
     
    407407                return 0;
    408408       
    409         TRACE_DEBUG(FULL, "[acl_wl] %s matched exactly.", name);
     409        TRACE_DEBUG(ANNOYING, "[acl_wl] %s matched exactly.", name);
    410410        *result = ti->flags;
    411411        return 0;
Note: See TracChangeset for help on using the changeset viewer.