@@ -112,16 +112,17 @@ const (
112112)
113113
114114type PortForward struct {
115- GuestIP net.IP `yaml:"guestIP,omitempty" json:"guestIP,omitempty"`
116- GuestPort int `yaml:"guestPort,omitempty" json:"guestPort,omitempty"`
117- GuestPortRange [2 ]int `yaml:"guestPortRange,omitempty" json:"guestPortRange,omitempty"`
118- GuestSocket string `yaml:"guestSocket,omitempty" json:"guestSocket,omitempty"`
119- HostIP net.IP `yaml:"hostIP,omitempty" json:"hostIP,omitempty"`
120- HostPort int `yaml:"hostPort,omitempty" json:"hostPort,omitempty"`
121- HostPortRange [2 ]int `yaml:"hostPortRange,omitempty" json:"hostPortRange,omitempty"`
122- HostSocket string `yaml:"hostSocket,omitempty" json:"hostSocket,omitempty"`
123- Proto Proto `yaml:"proto,omitempty" json:"proto,omitempty"`
124- Ignore bool `yaml:"ignore,omitempty" json:"ignore,omitempty"`
115+ GuestIPMustBeZero bool `yaml:"guestIPMustBeZero,omitempty" json:"guestIPMustBeZero,omitempty"`
116+ GuestIP net.IP `yaml:"guestIP,omitempty" json:"guestIP,omitempty"`
117+ GuestPort int `yaml:"guestPort,omitempty" json:"guestPort,omitempty"`
118+ GuestPortRange [2 ]int `yaml:"guestPortRange,omitempty" json:"guestPortRange,omitempty"`
119+ GuestSocket string `yaml:"guestSocket,omitempty" json:"guestSocket,omitempty"`
120+ HostIP net.IP `yaml:"hostIP,omitempty" json:"hostIP,omitempty"`
121+ HostPort int `yaml:"hostPort,omitempty" json:"hostPort,omitempty"`
122+ HostPortRange [2 ]int `yaml:"hostPortRange,omitempty" json:"hostPortRange,omitempty"`
123+ HostSocket string `yaml:"hostSocket,omitempty" json:"hostSocket,omitempty"`
124+ Proto Proto `yaml:"proto,omitempty" json:"proto,omitempty"`
125+ Ignore bool `yaml:"ignore,omitempty" json:"ignore,omitempty"`
125126}
126127
127128type Network struct {
0 commit comments