dhcpd: support ip pool larger than a class C

This commit is contained in:
nadoo committed 2020-09-29 18:59:57 +08:00
1 parent de8c08c7b2
commit a956e5811f
2 files changed
+16 -8

No files matched your search

+1
View File
@@ -21,6 +21,7 @@ func init() {
type dpcpd struct{}
// Run runs the service.
func (*dpcpd) Run(args ...string) {
if len(args) < 3 {
log.F("[dhcpd] not enough parameters, exiting")