Definition of platform specific socket bind
This commit is contained in:
parent
32d8932d1b
commit
c70f0c5da2
4 changed files with 198 additions and 40 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue