diff --git a/common/status.c b/common/status.c index 499484c39..d2d770523 100644 --- a/common/status.c +++ b/common/status.c @@ -125,7 +125,7 @@ void status_peer_io(enum log_level iodir, { report_logging_io("SIGUSR1"); if (logging_io) - status_io_full(iodir, NULL, "", p); + status_io_full(iodir, peer, "", p); /* We get a huge amount of gossip; don't log it */ else if (!is_msg_for_gossipd(p)) status_peer_io_short(iodir, peer, p);