aboutsummaryrefslogtreecommitdiffstats
path: root/src/uapi.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-10-06 22:56:01 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-10-06 22:56:01 +0200
commitc70f0c5da2a97715f5989f0d95ec795bdb085898 (patch)
tree64d41909fd4b57b21333d14fa5564a9916a422cd /src/uapi.go
parentSleep to close fd (diff)
downloadwireguard-go-c70f0c5da2a97715f5989f0d95ec795bdb085898.tar.xz
wireguard-go-c70f0c5da2a97715f5989f0d95ec795bdb085898.zip
Definition of platform specific socket bind
Diffstat (limited to '')
-rw-r--r--src/uapi.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uapi.go b/src/uapi.go
index 326216b..7d08e56 100644
--- a/src/uapi.go
+++ b/src/uapi.go
@@ -166,7 +166,7 @@ func ipcSetOperation(device *Device, socket *bufio.ReadWriter) *IPCError {
device.net.mutex.Lock()
if fwmark > 0 || device.net.fwmark > 0 {
device.net.fwmark = uint32(fwmark)
- err := setMark(
+ err := SetMark(
device.net.conn,
device.net.fwmark,
)