mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2025-04-08 10:06:55 +02:00
unsafe rebranding: change pipe name
This commit is contained in:
parent
3f0a3bcfa0
commit
3ddf952973
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ func init() {
|
||||||
func UAPIListen(name string) (net.Listener, error) {
|
func UAPIListen(name string) (net.Listener, error) {
|
||||||
listener, err := (&namedpipe.ListenConfig{
|
listener, err := (&namedpipe.ListenConfig{
|
||||||
SecurityDescriptor: UAPISecurityDescriptor,
|
SecurityDescriptor: UAPISecurityDescriptor,
|
||||||
}).Listen(`\\.\pipe\ProtectedPrefix\Administrators\WireGuard\` + name)
|
}).Listen(`\\.\pipe\ProtectedPrefix\Administrators\AmneziaWG\` + name)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue