Skip to content

Commit 95f2c82

Browse files
committed
fix: fix build for non-linux platform
1 parent 7ed6fe2 commit 95f2c82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

speedtest/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ import (
88
"net"
99
)
1010

11-
func newDialerInterfaceBound(iface string) (dialer *net.Dialer, err error) {
11+
func newDialerInterfaceOrFwmarkBound(iface string, fwmark int) (dialer *net.Dialer, err error) {
1212
return nil, fmt.Errorf("cannot bound to interface on this platform")
1313
}

0 commit comments

Comments
 (0)