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. 4
      gossipd/gossip.c

4
gossipd/gossip.c

@ -1426,8 +1426,8 @@ static struct io_plan *connection_in(struct io_conn *conn, struct daemon *daemon
socklen_t len = sizeof(s); socklen_t len = sizeof(s);
if (getpeername(io_conn_fd(conn), (struct sockaddr *)&s, &len) != 0) { 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)); strerror(errno));
return io_close(conn); return io_close(conn);
} }

Loading…
Cancel
Save