From a4f8e83d5d9f477554971e90e9ab85922f506ea9 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 22 Feb 2021 02:01:50 +0100 Subject: conn: make binds replacable Signed-off-by: Jason A. Donenfeld --- conn/mark_unix.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conn/mark_unix.go') diff --git a/conn/mark_unix.go b/conn/mark_unix.go index c29f247..18eb581 100644 --- a/conn/mark_unix.go +++ b/conn/mark_unix.go @@ -1,4 +1,4 @@ -// +build android openbsd freebsd +// +build linux openbsd freebsd /* SPDX-License-Identifier: MIT * @@ -26,7 +26,7 @@ func init() { } } -func (bind *nativeBind) SetMark(mark uint32) error { +func (bind *StdNetBind) SetMark(mark uint32) error { var operr error if fwmarkIoctl == 0 { return nil -- cgit v1.2.3