From f9bfed9773064d65b3a690d8c34aa4c2f689cf20 Mon Sep 17 00:00:00 2001 From: Abhishek Kondur Date: Wed, 28 Dec 2022 09:10:44 +0530 Subject: [PATCH] add local address field to host model --- models/host.go | 1 + 1 file changed, 1 insertion(+) diff --git a/models/host.go b/models/host.go index bebb0772..861c57e3 100644 --- a/models/host.go +++ b/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"`