This commit is contained in:
Simon Zolin 2019-09-12 16:52:34 +03:00
parent 93babd3e1c
commit 0c2611ff97
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ func (s *Server) dbLoad() {
if obj[i].Expiry != leaseExpireStatic && if obj[i].Expiry != leaseExpireStatic &&
!ipInRange(s.leaseStart, s.leaseStop, obj[i].IP) { !ipInRange(s.leaseStart, s.leaseStop, obj[i].IP) {
log.Tracef("Skipping a lease with IP %s: not within current IP range", obj[i].IP) log.Tracef("Skipping a lease with IP %v: not within current IP range", obj[i].IP)
continue continue
} }