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