Browse Source

Adjust loglevel for error message "Failed to get peername for incoming conn"

ppa-0.6.1
practicalswift 7 years ago
committed by Christian Decker
parent
commit
693d6fddab
  1. 2
      gossipd/gossip.c

2
gossipd/gossip.c

@ -1426,7 +1426,7 @@ static struct io_plan *connection_in(struct io_conn *conn, struct daemon *daemon
socklen_t len = sizeof(s);
if (getpeername(io_conn_fd(conn), (struct sockaddr *)&s, &len) != 0) {
status_unusual("Failed to get peername for incoming conn: %s",
status_trace("Failed to get peername for incoming conn: %s",
strerror(errno));
return io_close(conn);
}

Loading…
Cancel
Save