summaryrefslogtreecommitdiffhomepage
path: root/ipc
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josh@tailscale.com>2021-01-25 09:21:51 -0800
committerJosh Bleecher Snyder <josh@tailscale.com>2021-01-25 09:36:17 -0800
commit674a4675a10ea7eb83fad2eada5bf7211c7575f3 (patch)
treebef8d13ba80ee656c44505734df02413b8116026 /ipc
parent87bdcb2ae472711c3b0b3679fbdb393e39b4dbc3 (diff)
device: introduce new IPC error message for unknown error
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
Diffstat (limited to 'ipc')
-rw-r--r--ipc/uapi_unix.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/uapi_unix.go b/ipc/uapi_unix.go
index 510ab31..9074fd9 100644
--- a/ipc/uapi_unix.go
+++ b/ipc/uapi_unix.go
@@ -21,6 +21,7 @@ const (
IpcErrorProtocol = -int64(unix.EPROTO)
IpcErrorInvalid = -int64(unix.EINVAL)
IpcErrorPortInUse = -int64(unix.EADDRINUSE)
+ IpcErrorUnknown = -55 // ENOANO
)
// socketDirectory is variable because it is modified by a linker