Cleanup / temp buffers for various things
This commit is contained in:
@@ -15,7 +15,7 @@ func (a *App) sendPing(p *Peer, ts int64) {
|
||||
Dst: p.WGEndpoint(),
|
||||
}
|
||||
dst := netip.AddrPortFrom(p.VPNIP, ControlPort)
|
||||
if err := a.controlConn.SendPing(dst, ping); err != nil {
|
||||
if err := a.controlConn.SendPing(dst, ping, a.scratch); err != nil {
|
||||
log.Printf("sendPing %v: %v", p.VPNIP, err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user