mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 17:46:58 -05:00
rename the field to keep lint happy
This commit is contained in:
parent
44514ebc1a
commit
d6abddc7f5
@ -390,7 +390,7 @@ type SocketConfig struct {
|
|||||||
TProxy string `json:"tproxy"`
|
TProxy string `json:"tproxy"`
|
||||||
AcceptProxyProtocol bool `json:"acceptProxyProtocol"`
|
AcceptProxyProtocol bool `json:"acceptProxyProtocol"`
|
||||||
|
|
||||||
TcpKeepAliveInterval uint32 `json:"tcpKeepAliveInterval"`
|
TCPKeepAliveInterval uint32 `json:"tcpKeepAliveInterval"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Build implements Buildable.
|
// Build implements Buildable.
|
||||||
@ -418,7 +418,7 @@ func (c *SocketConfig) Build() (*internet.SocketConfig, error) {
|
|||||||
Tfo: tfoSettings,
|
Tfo: tfoSettings,
|
||||||
Tproxy: tproxy,
|
Tproxy: tproxy,
|
||||||
AcceptProxyProtocol: c.AcceptProxyProtocol,
|
AcceptProxyProtocol: c.AcceptProxyProtocol,
|
||||||
TcpKeepAliveInterval: c.TcpKeepAliveInterval,
|
TcpKeepAliveInterval: c.TCPKeepAliveInterval,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user