Explorar o código

add local address field to host model

Abhishek Kondur %!s(int64=2) %!d(string=hai) anos
pai
achega
f9bfed9773
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      models/host.go

+ 1 - 0
models/host.go

@@ -24,6 +24,7 @@ type Host struct {
 	Interface        string           `json:"interface" yaml:"interface"`
 	Debug            bool             `json:"debug" yaml:"debug"`
 	ListenPort       int              `json:"listenport" yaml:"listenport"`
+	LocalAddress     net.IPNet        `json:"localaddress" yaml:"localaddress"`
 	LocalRange       net.IPNet        `json:"localrange" yaml:"localrange"`
 	LocalListenPort  int              `json:"locallistenport" yaml:"locallistenport"`
 	ProxyListenPort  int              `json:"proxy_listen_port" yaml:"proxy_listen_port"`