Begin generic Bind implementation
This commit is contained in:
parent
d10126f883
commit
a79fdc13a2
4 changed files with 99 additions and 54 deletions
|
|
@ -260,9 +260,8 @@ func ipcSetOperation(device *Device, socket *bufio.ReadWriter) *IPCError {
|
|||
err := func() error {
|
||||
peer.mutex.Lock()
|
||||
defer peer.mutex.Unlock()
|
||||
|
||||
endpoint := NewEndpoint()
|
||||
if err := endpoint.SetDst(value); err != nil {
|
||||
endpoint, err := CreateEndpoint(value)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
peer.endpoint = endpoint
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue