Merge: * DHCP fixes

Close #2040

* commit '06af130bb7c042d8a44720cc9423b3fc76deadee':
  - DHCP: fix crash after adding static lease which replaces the dynamic one
  * DHCP: don't replace the host name from static lease
This commit is contained in:
Simon Zolin
2020-08-25 17:29:49 +03:00
3 changed files with 46 additions and 12 deletions

View File

@@ -55,7 +55,6 @@ const (
LeaseChangedAdded = iota
LeaseChangedAddedStatic
LeaseChangedRemovedStatic
LeaseChangedBlacklisted
LeaseChangedDBStore
)