Changeset 1186:56c36d1007b4 in freeDiameter for libfdcore/hooks.c
- Timestamp:
- Jun 7, 2013, 7:48:34 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/hooks.c
r1168 r1186 420 420 } 421 421 CHECK_MALLOC_DO(fd_msg_dump_treeview(&buf, &len, NULL, msg, NULL, 0, 1), break); 422 LOG_N("Connected to '%s', remote capabilities: ", peer ? peer->p_hdr.info.pi_diamid : "<unknown>"); 422 char protobuf[40]; 423 if (peer) { 424 CHECK_FCT_DO(fd_peer_cnx_proto_info(&peer->p_hdr, protobuf, sizeof(protobuf)), break ); 425 } else { 426 protobuf[0] = '-'; 427 protobuf[1] = '\0'; 428 } 429 LOG_N("Connected to '%s' (%s), remote capabilities: ", peer ? peer->p_hdr.info.pi_diamid : "<unknown>", protobuf); 423 430 LOG_SPLIT(FD_LOG_NOTICE, " ", buf?:"<error dumping message>", NULL); 424 431 break;
Note: See TracChangeset
for help on using the changeset viewer.