mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2025-04-16 14:06:54 +02:00
namespaceapi: AddSIDToBoundaryDescriptor modifies the handle
This commit is contained in:
parent
73d3bd9cd5
commit
d12eb91f9a
1 changed files with 2 additions and 2 deletions
|
@ -36,8 +36,8 @@ func (bd BoundaryDescriptor) Delete() {
|
|||
}
|
||||
|
||||
// AddSid adds a security identifier (SID) to the specified boundary descriptor.
|
||||
func (bd BoundaryDescriptor) AddSid(requiredSid *windows.SID) error {
|
||||
return addSIDToBoundaryDescriptor((*windows.Handle)(&bd), requiredSid)
|
||||
func (bd *BoundaryDescriptor) AddSid(requiredSid *windows.SID) error {
|
||||
return addSIDToBoundaryDescriptor((*windows.Handle)(bd), requiredSid)
|
||||
}
|
||||
|
||||
// PrivateNamespace represents a private namespace. Duh?!
|
||||
|
|
Loading…
Add table
Reference in a new issue