Extract private upstream for iOS and fix function headers for other OS

This commit is contained in:
Pascal Fischer
2023-12-06 12:08:12 +01:00
parent 5f96c566ab
commit ad1cf388fb
8 changed files with 68 additions and 39 deletions

View File

@@ -25,7 +25,7 @@ const (
type osManagerType int
func newHostManager(wgInterface WGIface) (hostManager, error) {
func newHostManager(wgInterface WGIface, dnsManager IosDnsManager) (hostManager, error) {
osManager, err := getOSDNSManagerType()
if err != nil {
return nil, err