mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-09-28 06:46:14 -04:00
Suppress lint error (#486)
This commit is contained in:
parent
5e99737c12
commit
e6fb0e1e5d
@ -10,7 +10,7 @@ import (
|
|||||||
"v2ray.com/core/transport/internet"
|
"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) {
|
func GetOriginalDestination(conn internet.Connection) (net.Destination, error) {
|
||||||
sysrawconn, f := conn.(syscall.Conn)
|
sysrawconn, f := conn.(syscall.Conn)
|
||||||
|
Loading…
Reference in New Issue
Block a user