fix: missing sniffhost field in RESTful API

This commit is contained in:
gVisor bot 2023-02-10 12:48:02 +08:00
parent a3688b1a08
commit 51cbc532db

View file

@ -135,7 +135,7 @@ type Metadata struct {
SpecialRules string `json:"specialRules"`
RemoteDst string `json:"remoteDestination"`
// Only domain rule
SniffHost string
SniffHost string `json:"sniffHost"`
}
func (m *Metadata) RemoteAddress() string {