|
@@ -147,10 +147,10 @@ func (f *Interface) handleHostRoaming(hostinfo *HostInfo, addr *udpAddr) {
|
|
|
hostinfo.logger().WithField("newAddr", addr).Debug("lighthouse.remote_allow_list denied roaming")
|
|
|
return
|
|
|
}
|
|
|
- if !hostinfo.lastRoam.IsZero() && addr.Equals(hostinfo.lastRoamRemote) && time.Since(hostinfo.lastRoam) < RoamingSupressSeconds*time.Second {
|
|
|
+ if !hostinfo.lastRoam.IsZero() && addr.Equals(hostinfo.lastRoamRemote) && time.Since(hostinfo.lastRoam) < RoamingSuppressSeconds*time.Second {
|
|
|
if l.Level >= logrus.DebugLevel {
|
|
|
hostinfo.logger().WithField("udpAddr", hostinfo.remote).WithField("newAddr", addr).
|
|
|
- Debugf("Supressing roam back to previous remote for %d seconds", RoamingSupressSeconds)
|
|
|
+ Debugf("Suppressing roam back to previous remote for %d seconds", RoamingSuppressSeconds)
|
|
|
}
|
|
|
return
|
|
|
}
|