1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-15 20:25:23 +00:00

Suppress lint error (#486)

This commit is contained in:
Loyalsoldier 2020-12-03 16:14:34 +08:00 committed by GitHub
parent 5e99737c12
commit e6fb0e1e5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ import (
"v2ray.com/core/transport/internet"
)
const SO_ORIGINAL_DST = 80
const SO_ORIGINAL_DST = 80 // nolint: golint,stylecheck
func GetOriginalDestination(conn internet.Connection) (net.Destination, error) {
sysrawconn, f := conn.(syscall.Conn)