mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-22 15:51:37 +03:00
2a1ad532f4
Merge in DNS/adguard-home from 4499-rm-unnecessary-locking to master Squashed commit of the following: commit 6d70472506dd0fd69225454c73d9f7f6a208b76b Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Mon Apr 25 17:26:54 2022 +0300 home: rm unnecessary locking in update; refactor
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()
|
|
}
|