Definition of platform specific socket bind

This commit is contained in:
Mathias Hall-Andersen
2017-10-06 22:56:01 +02:00
parent 32d8932d1b
commit c70f0c5da2
4 changed files with 198 additions and 40 deletions

View File

@@ -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
}