This commit is contained in:
jdl committed 2026-06-15 19:06:12 +02:00
1 parent 458e1ac603
commit c47d00e694
7 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ func (a *App) onPing(e PingEvent) {
// We make sure we don't set a private address as our public address since we
// may be connected via LAN to some peers.
if peer.State == StateDirect {
if dst := e.ping.Dst; addrIsRoutable(e.ping.Dst) {
if dst := e.ping.Dst; addrIsRoutable(dst) {
if dst.Addr().Is4() {
if dst != a.selfV4 {
log.Printf("Local IPv4 updated: %s -> %s", a.selfV4, dst)