mirror of
https://codeberg.org/cunicu/cunicu.git
synced 2025-12-24 06:18:40 +08:00
hsync: add extra_hosts option
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
@@ -86,6 +86,8 @@ type InterfaceSettings struct {
|
||||
HostName string `koanf:"hostname,omitempty"`
|
||||
Domain string `koanf:"domain,omitempty"`
|
||||
|
||||
ExtraHosts map[string][]net.IPAddr `koanf:"extra_hosts,omitempty"`
|
||||
|
||||
MTU int `koanf:"mtu,omitempty"`
|
||||
DNS []net.IPAddr `koanf:"dns,omitempty"`
|
||||
Addresses []net.IPNet `koanf:"addresses,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user