From ff751a5409deb83544c5348c1c3c45acfd5b9b5f Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 2 Jun 2021 14:46:04 +0100 Subject: [PATCH] Fix lint error --- src/core/tcp_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/tcp_linux.go b/src/core/tcp_linux.go index 39e3ba7..558b4e5 100644 --- a/src/core/tcp_linux.go +++ b/src/core/tcp_linux.go @@ -36,7 +36,7 @@ func (t *tcp) getControl(sintf string) func(string, string, syscall.RawConn) err btd := func(fd uintptr) { err = unix.BindToDevice(int(fd), sintf) } - c.Control(btd) + _ = c.Control(btd) if err != nil { t.links.core.log.Debugln("Failed to set SO_BINDTODEVICE:", sintf) }