device: introduce new IPC error message for unknown error

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
This commit is contained in:
Josh Bleecher Snyder committed 2021-01-25 09:36:17 -08:00
1 parent 87bdcb2ae4
commit 674a4675a1
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -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