fix(connections): announce PtP links again (fixes #9730) (#9731)

This commit is contained in:
Jakob Borg
2024-09-23 14:32:19 +02:00
committed by GitHub
parent 3e501d9036
commit a8e2c8edb6
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -799,7 +799,7 @@ func (s *lanChecker) isLAN(addr net.Addr) bool {
}
}
lans, err := osutil.GetLans()
lans, err := osutil.GetInterfaceAddrs(false)
if err != nil {
l.Debugln("Failed to retrieve interface IPs:", err)
priv := ip.IsPrivate()