Clean up error handling of listen port
This commit is contained in:
parent
012e7b9d33
commit
6fa65bded4
4 changed files with 6 additions and 6 deletions
|
|
@ -11,9 +11,9 @@ import (
|
|||
|
||||
const (
|
||||
ipcErrorIO = -int64(unix.EIO)
|
||||
ipcErrorNotDefined = -int64(unix.ENODEV)
|
||||
ipcErrorProtocol = -int64(unix.EPROTO)
|
||||
ipcErrorInvalid = -int64(unix.EINVAL)
|
||||
ipcErrorPortInUse = -int64(unix.EADDRINUSE)
|
||||
socketDirectory = "/var/run/wireguard"
|
||||
socketName = "%s.sock"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue