diff --git a/peer/log.go b/peer/log.go index 7e4213212..caa850fe9 100644 --- a/peer/log.go +++ b/peer/log.go @@ -133,6 +133,12 @@ func messageSummary(msg wire.Message) string { // No summary. case *wire.MsgGetAddr: + if msg.IncludeAllSubnetworks { + return "all subnetworks and full nodes" + } + if msg.SubnetworkID == nil { + return "full nodes" + } return fmt.Sprintf("subnetwork ID %v", msg.SubnetworkID) case *wire.MsgAddr: