f-15: code: add generate dhcp file
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
2bbe9b40f7
commit
5d980514b8
2 changed files with 59 additions and 0 deletions
12
internal/dhcp/struct.go
Normal file
12
internal/dhcp/struct.go
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
package dhcp
|
||||
|
||||
import (
|
||||
"net"
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
Network *net.IPNet
|
||||
Gateway net.IP
|
||||
Name string
|
||||
ConfDir string
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue