X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drl%2Fpeer_comm.c;h=869cde90a171c8eec38dc7f2342b693e5c610d25;hb=d21104e4fb6400d420027b865833cae78697cda3;hp=cb306574680c90557a9789b7c9634887207ee5c0;hpb=0be9704d6b24d09ebd55beedec52758cb88c570b;p=distributedratelimiting.git diff --git a/drl/peer_comm.c b/drl/peer_comm.c index cb30657..869cde9 100644 --- a/drl/peer_comm.c +++ b/drl/peer_comm.c @@ -409,9 +409,9 @@ int send_udp_mesh(comm_t *comm, uint32_t id, int sock) { toaddr.sin_addr.s_addr = remote->addr; /* Already in network byte order. */ toaddr.sin_port = remote->port; if (sendto(sock, &msg, sizeof(msg), 0, (struct sockaddr *) &toaddr, sizeof(struct sockaddr_in)) < 0) { - printlog(LOG_CRITICAL, "ERR: limiter_send_mesh: sento failed.\n"); + printlog(LOG_WARN, "WARN: limiter_send_mesh: sento failed.\n"); result = errno; - printlog(LOG_CRITICAL, " - The error was |%d|\n", strerror(result)); + printlog(LOG_WARN, " - The error was |%d|\n", strerror(result)); break; } } @@ -476,7 +476,7 @@ int send_udp_gossip(comm_t *comm, uint32_t id, int sock) { message_to_nbo(&msg); if (sendto(sock, &msg, sizeof(msg), 0, (struct sockaddr *) &toaddr, sizeof(struct sockaddr_in)) < 0) { - printlog(LOG_CRITICAL, "ERR: limiter_send_gossip: sento failed.\n"); + printlog(LOG_WARN, "WARN: limiter_send_gossip: sento failed.\n"); result = errno; break; }