Navigation


Changeset 1245:4b511d9b3def in freeDiameter for libfdcore


Ignore:
Timestamp:
Nov 11, 2013, 4:30:26 PM (10 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Change default dump of peer connection, add more options to the dbg_msg_dumps extensions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/hooks.c

    r1215 r1245  
    406406                        case HOOK_PEER_CONNECT_FAILED: {
    407407                                if (msg) {
    408                                         CHECK_MALLOC_DO(fd_msg_dump_treeview(&hook_default_buf, &hook_default_len, NULL, msg, NULL, 0, 1), break);
     408                                        CHECK_MALLOC_DO(fd_msg_dump_full(&hook_default_buf, &hook_default_len, NULL, msg, NULL, 0, 1), break);
    409409                                        LOG_N("Connection to '%s' failed: '%s'; CER/CEA dump:", peer ? peer->p_hdr.info.pi_diamid : "<unknown>", (char *)other);
    410410                                        LOG_SPLIT(FD_LOG_NOTICE, "   ", hook_default_buf, NULL);
     
    420420                                        fd_msg_answ_getq(msg, &msg); /* We dump the CER in that case */
    421421                                }
    422                                 CHECK_MALLOC_DO(fd_msg_dump_treeview(&hook_default_buf, &hook_default_len, NULL, msg, NULL, 0, 1), break);
     422                                CHECK_MALLOC_DO(fd_msg_dump_full(&hook_default_buf, &hook_default_len, NULL, msg, NULL, 0, 1), break);
    423423                                char protobuf[40];
    424424                                if (peer) {
Note: See TracChangeset for help on using the changeset viewer.