Navigation


Changeset 1107:96f2051215c8 in freeDiameter for libfdcore/config.c


Ignore:
Timestamp:
May 12, 2013, 11:39:07 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Replaced calls to TRACE_sSA and sSA_DUMP_NODE* macros

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/config.c

    r1093 r1107  
    347347                        if ( (fd_g_config->cnf_flags.no_ip4 && (ep->sa.sa_family == AF_INET))
    348348                           ||(fd_g_config->cnf_flags.no_ip6 && (ep->sa.sa_family == AF_INET6)) ) {
     349                                char sa_buf[sSA_DUMP_STRLEN];;
    349350                                li = li->prev;
    350351                                fd_list_unlink(&ep->chain);
    351                                 if (TRACE_BOOL(INFO)) {
    352                                         char buf[1024];
    353                                         sSA_DUMP_NODE( buf, sizeof(buf), &ep->sa, NI_NUMERICHOST );
    354                                         fd_log_debug("Info: Removing local address conflicting with the flags no_IP / no_IP6 : %s", buf);
    355                                 }
     352                                fd_sa_sdump_numeric(sa_buf, &ep->sa);
     353                                LOG_N("Info: Removing local address conflicting with the flags no_IP / no_IP6 : %s", sa_buf);
    356354                                free(ep);
    357355                        }
Note: See TracChangeset for help on using the changeset viewer.