edit default conf

This commit is contained in:
Kusakabe Si
2021-12-05 22:32:04 +00:00
parent 18d019725c
commit c42289f4bd
3 changed files with 5 additions and 4 deletions

View File

@ -484,6 +484,7 @@ func edge_post_nodeinfo(w http.ResponseWriter, r *http.Request) {
httpobj.http_PeerIPs[PubKey].LocalIPv4 = client_report.LocalV4s
httpobj.http_PeerIPs[PubKey].LocalIPv6 = client_report.LocalV6s
httpobj.http_PeerState[PubKey].httpPostCount.Store(client_PostCount + 1)
httpobj.http_PeerState[PubKey].LastSeen.Store(time.Now())
applied_pones := make([]mtypes.PongMsg, 0, len(client_report.Pongs))
for _, pong_msg := range client_report.Pongs {