two/internal/dhcp/struct.go
GnomeZworc a2170fff08
f-34: route: fix missing route for metadata #34
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
2026-08-24 22:57:03 +02:00

16 lines
433 B
Go

package dhcp
import (
"net"
)
const DefaultConfDir = "/etc/dnsmasq.d"
type Config struct {
Network *net.IPNet
InterfaceIP net.IP // subnet gateway; next-hop for the metadata and VPC routes
VPCRoute *net.IPNet // if non-nil, routed via InterfaceIP in option 121
DefaultGateway net.IP // if non-nil, default route via option 3 and 0.0.0.0/0 in option 121
Name string
ConfDir string
}