Cleanup - audit
This commit is contained in:
@@ -22,6 +22,12 @@ func (a *App) onTick() {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
p.wgPeer = wgPeer
|
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.
|
// Send pings to peers where we're the client.
|
||||||
if p.Role == control.Client {
|
if p.Role == control.Client {
|
||||||
|
|||||||
Reference in New Issue
Block a user