mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-09 16:21:01 +08:00
add local address field to host model
This commit is contained in:
parent
7cd11e4d86
commit
f9bfed9773
1 changed files with 1 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ type Host struct {
|
||||||
Interface string `json:"interface" yaml:"interface"`
|
Interface string `json:"interface" yaml:"interface"`
|
||||||
Debug bool `json:"debug" yaml:"debug"`
|
Debug bool `json:"debug" yaml:"debug"`
|
||||||
ListenPort int `json:"listenport" yaml:"listenport"`
|
ListenPort int `json:"listenport" yaml:"listenport"`
|
||||||
|
LocalAddress net.IPNet `json:"localaddress" yaml:"localaddress"`
|
||||||
LocalRange net.IPNet `json:"localrange" yaml:"localrange"`
|
LocalRange net.IPNet `json:"localrange" yaml:"localrange"`
|
||||||
LocalListenPort int `json:"locallistenport" yaml:"locallistenport"`
|
LocalListenPort int `json:"locallistenport" yaml:"locallistenport"`
|
||||||
ProxyListenPort int `json:"proxy_listen_port" yaml:"proxy_listen_port"`
|
ProxyListenPort int `json:"proxy_listen_port" yaml:"proxy_listen_port"`
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue