aboutsummaryrefslogtreecommitdiff
path: root/src/uapi.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/uapi.go')
-rw-r--r--src/uapi.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uapi.go b/src/uapi.go
index 034033a..326216b 100644
--- a/src/uapi.go
+++ b/src/uapi.go
@@ -151,7 +151,7 @@ func ipcSetOperation(device *Device, socket *bufio.ReadWriter) *IPCError {
err = updateUDPConn(device)
if err != nil {
logError.Println("Failed to set listen_port:", err)
- return &IPCError{Code: ipcErrorIO}
+ return &IPCError{Code: ipcErrorPortInUse}
}
// TODO: Clear source address of all peers