summaryrefslogtreecommitdiffhomepage
path: root/src/conn.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/conn.go
parent32d8932d1b29effa42fe56822988d3888c496873 (diff)
Definition of platform specific socket bind
Diffstat (limited to 'src/conn.go')
-rw-r--r--src/conn.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn.go b/src/conn.go
index 2cf588d..60cd789 100644
--- a/src/conn.go
+++ b/src/conn.go
@@ -56,7 +56,7 @@ func updateUDPConn(device *Device) error {
// set fwmark
- err = setMark(netc.conn, netc.fwmark)
+ err = SetMark(netc.conn, netc.fwmark)
if err != nil {
return err
}