1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-02-17 05:35:20 -05: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

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)