summaryrefslogtreecommitdiff
path: root/src/uapi.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/uapi.go')
-rw-r--r--src/uapi.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/uapi.go b/src/uapi.go
index 2de26ee..accffd1 100644
--- a/src/uapi.go
+++ b/src/uapi.go
@@ -247,7 +247,8 @@ func ipcSetOperation(device *Device, socket *bufio.ReadWriter) *IPCError {
// set endpoint destination and reset handshake timer
peer.mutex.Lock()
- err := peer.endpoint.value.Set(value)
+ err := peer.endpoint.value.SetDst(value)
+ fmt.Println(peer.endpoint.value.DstToString(), err)
peer.endpoint.set = (err == nil)
peer.mutex.Unlock()
if err != nil {