dhcpsvc: imp docs

This commit is contained in:
Eugene Burkov 2024-02-19 14:52:01 +03:00
parent 0a078920a2
commit 38b3165b69

View File

@ -19,6 +19,7 @@ type leaseIndex struct {
byName map[string]*Lease
}
// newLeaseIndex returns a new index for [Lease]s.
func newLeaseIndex() *leaseIndex {
return &leaseIndex{
byAddr: map[netip.Addr]*Lease{},