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