forked from AdguardTeam/AdGuardHome
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge in DNS/adguard-home from 3225-bsd-dhcp to master Closes AdguardTeam#3225. Closes AdguardTeam#3417. Squashed commit of the following: commit e7ea691 Author: Eugene Burkov <e.burkov@adguard.com> Date: Thu Aug 12 17:02:02 2021 +0300 all: imp code, docs commit 5b598fc Author: Eugene Burkov <e.burkov@adguard.com> Date: Thu Aug 12 16:28:12 2021 +0300 all: mv logic, imp code, docs, log changes commit e3e1577 Author: Eugene Burkov <e.burkov@adguard.com> Date: Thu Aug 12 14:15:10 2021 +0300 dhcpd: imp checkother commit 3cc8b05 Author: Eugene Burkov <e.burkov@adguard.com> Date: Wed Aug 11 13:20:18 2021 +0300 all: imp bsd support
- Loading branch information
1 parent
bdd3fa7
commit 14fda03
Showing
21 changed files
with
518 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package aghnet | ||
|
||
// CheckOtherDHCP tries to discover another DHCP server in the network. | ||
func CheckOtherDHCP(ifaceName string) (ok4, ok6 bool, err4, err6 error) { | ||
return checkOtherDHCP(ifaceName) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
//go:build windows | ||
// +build windows | ||
|
||
package aghnet | ||
|
||
import "github.com/AdguardTeam/AdGuardHome/internal/aghos" | ||
|
||
func checkOtherDHCP(ifaceName string) (ok4, ok6 bool, err4, err6 error) { | ||
return false, | ||
false, | ||
aghos.Unsupported("CheckIfOtherDHCPServersPresentV4"), | ||
aghos.Unsupported("CheckIfOtherDHCPServersPresentV6") | ||
} |
Oops, something went wrong.