1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-27 06:16:09 -04:00

rename the field to keep lint happy

This commit is contained in:
Shelikhoo 2021-05-04 22:55:39 +01:00
parent 44514ebc1a
commit d6abddc7f5
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316

View File

@ -390,7 +390,7 @@ type SocketConfig struct {
TProxy string `json:"tproxy"`
AcceptProxyProtocol bool `json:"acceptProxyProtocol"`
TcpKeepAliveInterval uint32 `json:"tcpKeepAliveInterval"`
TCPKeepAliveInterval uint32 `json:"tcpKeepAliveInterval"`
}
// Build implements Buildable.
@ -418,7 +418,7 @@ func (c *SocketConfig) Build() (*internet.SocketConfig, error) {
Tfo: tfoSettings,
Tproxy: tproxy,
AcceptProxyProtocol: c.AcceptProxyProtocol,
TcpKeepAliveInterval: c.TcpKeepAliveInterval,
TcpKeepAliveInterval: c.TCPKeepAliveInterval,
}, nil
}