Cleanup - audit

This commit is contained in:
jdl
2026-06-13 20:07:17 +02:00
parent c356347cf6
commit c911e3e865

View File

@@ -22,6 +22,12 @@ func (a *App) onTick() {
continue
}
p.wgPeer = wgPeer
if a.isPublic && !p.IsPublic {
if ep := p.WGEndpoint(); ep != p.EndpointV4 {
log.Printf("Client %s %s endpoint: %s -> %s", p.Name, p.VPNIP, p.EndpointV4, ep)
p.EndpointV4 = ep
}
}
// Send pings to peers where we're the client.
if p.Role == control.Client {