dhcpd: do not release static records

This commit is contained in:
nadoo committed 2022-12-19 00:01:14 +08:00
1 parent d57d35c062
commit 03157367ca
9 files changed
+55 -54

No files matched your search

+6
View File
@@ -212,6 +212,12 @@ func (s *Session) Close() error {
}
}
// CloseChan can be used by someone who wants to be notified immediately when this
// session is closed
func (s *Session) CloseChan() <-chan struct{} {
return s.die
}
// notifyBucket notifies recvLoop that bucket is available
func (s *Session) notifyBucket() {
select {