dhcpd: handle client requested ip option

This commit is contained in:
nadoo committed 2024-01-26 18:53:46 +08:00
1 parent c7d072372b
commit 7016a3d340
6 files changed
+73 -53

No files matched your search

-3
View File
@@ -116,9 +116,6 @@ func NewClient(uuidStr, security string, alterID int, aead bool) (*Client, error
return nil, errors.New("unknown security type: " + security)
}
// NOTE: give rand a new seed to avoid the same sequence of values
rand.Seed(time.Now().UnixNano())
return c, nil
}