mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-29 18:38:56 +03:00
11 lines
238 B
Go
11 lines
238 B
Go
|
//go:build darwin || freebsd || openbsd
|
||
|
// +build darwin freebsd openbsd
|
||
|
|
||
|
package aghnet
|
||
|
|
||
|
import "github.com/AdguardTeam/AdGuardHome/internal/aghos"
|
||
|
|
||
|
func canBindPrivilegedPorts() (can bool, err error) {
|
||
|
return aghos.HaveAdminRights()
|
||
|
}
|