mirror of
https://github.com/KusakabeShi/EtherGuard-VPN.git
synced 2025-08-09 15:41:40 +02:00
uapi: allow overriding socket directory at compile time
This commit is contained in:
@ -18,12 +18,13 @@ import (
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
var socketDirectory = "/var/run/wireguard"
|
||||
|
||||
const (
|
||||
ipcErrorIO = -int64(unix.EIO)
|
||||
ipcErrorProtocol = -int64(unix.EPROTO)
|
||||
ipcErrorInvalid = -int64(unix.EINVAL)
|
||||
ipcErrorPortInUse = -int64(unix.EADDRINUSE)
|
||||
socketDirectory = "/var/run/wireguard"
|
||||
socketName = "%s.sock"
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user