Naming unify

This commit is contained in:
Iurii Egorov 2024-01-19 15:08:27 +03:00 committed by Iurii Egorov
parent ce9d3866a3
commit e3c9ec8012
36 changed files with 80 additions and 78 deletions

View file

@ -26,7 +26,7 @@ const (
// socketDirectory is variable because it is modified by a linker
// flag in wireguard-android.
var socketDirectory = "/var/run/wireguard"
var socketDirectory = "/var/run/amneziawg"
func sockPath(iface string) string {
return fmt.Sprintf("%s/%s.sock", socketDirectory, iface)