f-34: route: fix missing route for metadata #34
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
8078da0bda
commit
a2170fff08
5 changed files with 32 additions and 12 deletions
|
|
@ -8,9 +8,9 @@ const DefaultConfDir = "/etc/dnsmasq.d"
|
|||
|
||||
type Config struct {
|
||||
Network *net.IPNet
|
||||
VPCGateway net.IP // next-hop for VPCRoute (option 121)
|
||||
VPCRoute *net.IPNet // if non-nil, emit dhcp-option=121,VPCRoute,VPCGateway
|
||||
DefaultGateway net.IP // if non-nil, emit dhcp-option=3,DefaultGateway; if nil, emit a bare dhcp-option=3 to suppress the dnsmasq default
|
||||
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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue