Changeset 974:2091bf698fb1 in freeDiameter for libfdcore/server.c
- Timestamp:
- Mar 15, 2013, 2:14:35 AM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/server.c
r931 r974 98 98 struct fd_list * li, *cli; 99 99 100 fd_log_debug("Dumping servers list : \n");100 fd_log_debug("Dumping servers list :"); 101 101 for (li = FD_SERVERS.next; li != &FD_SERVERS; li = li->next) { 102 102 struct server * s = (struct server *)li; 103 103 enum s_state st = get_status(s); 104 fd_log_debug(" Serv %p '%s': %s, %s, %s \n",104 fd_log_debug(" Serv %p '%s': %s, %s, %s", 105 105 s, fd_cnx_getid(s->conn), 106 106 IPPROTO_NAME( s->proto ), … … 115 115 struct client * c = (struct client *)cli; 116 116 char bufts[128]; 117 fd_log_debug(" Connected: '%s' (timeout: %s) \n",117 fd_log_debug(" Connected: '%s' (timeout: %s)", 118 118 fd_cnx_getid(c->conn), 119 119 fd_log_time(&c->ts, bufts, sizeof(bufts))); … … 148 148 if (ret != 0) { 149 149 if (TRACE_BOOL(INFO)) { 150 fd_log_debug("TLS handshake failed for client '%s', connection aborted. \n", fd_cnx_getid(c->conn));150 fd_log_debug("TLS handshake failed for client '%s', connection aborted.", fd_cnx_getid(c->conn)); 151 151 } 152 152 goto cleanup; … … 177 177 CHECK_FCT_DO( fd_msg_hdr ( msg, &hdr ), goto fatal_error ); 178 178 CHECK_PARAMS_DO( (hdr->msg_appl == 0) && (hdr->msg_flags & CMD_FLAG_REQUEST) && (hdr->msg_code == CC_CAPABILITIES_EXCHANGE), 179 { fd_log_debug("Connection '%s', expecting CER, received something else, closing... \n", fd_cnx_getid(c->conn)); goto cleanup; } );179 { fd_log_debug("Connection '%s', expecting CER, received something else, closing...", fd_cnx_getid(c->conn)); goto cleanup; } ); 180 180 181 181 /* Finally, pass the information to the peers module which will handle it next */ … … 387 387 CHECK_FCT(fd_cnx_get_local_eps(&fd_g_config->cnf_endpoints)); 388 388 if (FD_IS_LIST_EMPTY(&fd_g_config->cnf_endpoints)) { 389 TRACE_DEBUG(INFO, "Unable to find the address(es) of the local system. \n"389 TRACE_DEBUG(INFO, "Unable to find the address(es) of the local system." 390 390 "Please use \"ListenOn\" parameter in the configuration.\n" 391 391 "This information is required to generate the CER/CEA messages.\n"); … … 394 394 } 395 395 if (TRACE_BOOL(FULL)){ 396 fd_log_debug(" Local server address(es) : \n");396 fd_log_debug(" Local server address(es) :"); 397 397 fd_ep_dump( 5, &fd_g_config->cnf_endpoints ); 398 398 }
Note: See TracChangeset
for help on using the changeset viewer.