Navigation


Changeset 952:17ac99255475 in freeDiameter


Ignore:
Timestamp:
Feb 22, 2013, 8:06:07 AM (11 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Be explicit which entry already exists in the dictionary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdproto/dictionary.c

    r949 r952  
    17221722                switch (type) {
    17231723                        case DICT_VENDOR:
     1724                                TRACE_DEBUG(FULL, "Vendor %s already in dictionary", new->data.vendor.vendor_name);
    17241725                                /* if we are here, it means the two vendors id are identical */
    17251726                                if (fd_os_cmp(locref->data.vendor.vendor_name, locref->datastr_len,
     
    17331734
    17341735                        case DICT_APPLICATION:
     1736                                TRACE_DEBUG(FULL, "Application %s already in dictionary", new->data.application.application_name);
    17351737                                /* got same id */
    17361738                                if (fd_os_cmp(locref->data.application.application_name, locref->datastr_len,
     
    17431745
    17441746                        case DICT_TYPE:
     1747                                TRACE_DEBUG(FULL, "Type %s already in dictionary", new->data.type.type_name);
    17451748                                /* got same name */
    17461749                                if (locref->data.type.type_base != new->data.type.type_base) {
     
    17651768
    17661769                        case DICT_ENUMVAL:
     1770                                TRACE_DEBUG(FULL, "Enum %s already in dictionary", new->data.enumval.enum_name);
    17671771                                /* got either same name or same value. We check that both are true */
    17681772                                if (order_enum_by_name(locref, new)) {
     
    17781782
    17791783                        case DICT_AVP:
     1784                                TRACE_DEBUG(FULL, "AVP %s already in dictionary", new->data.avp.avp_name);
    17801785                                /* got either same name or code */
    17811786                                if (order_avp_by_code(locref, new)) {
     
    18071812
    18081813                        case DICT_COMMAND:
     1814                                TRACE_DEBUG(FULL, "Command %s already in dictionary", new->data.cmd.cmd_name);
    18091815                                /* We got either same name, or same code + R flag */
    18101816                                if (order_cmd_by_name(locref, new)) {
Note: See TracChangeset for help on using the changeset viewer.