mirror of
https://github.com/netbirdio/netbird.git
synced 2025-06-20 01:38:41 +02:00
[client] Use dynamic dns route resolution on iOS (#3243)
This commit is contained in:
parent
5c05131a94
commit
a32ec97911
@ -4,6 +4,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"reflect"
|
"reflect"
|
||||||
|
runtime "runtime"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/hashicorp/go-multierror"
|
"github.com/hashicorp/go-multierror"
|
||||||
@ -439,7 +440,7 @@ func handlerType(rt *route.Route, useNewDNSRoute bool) int {
|
|||||||
return handlerTypeStatic
|
return handlerTypeStatic
|
||||||
}
|
}
|
||||||
|
|
||||||
if useNewDNSRoute {
|
if useNewDNSRoute && runtime.GOOS != "ios" {
|
||||||
return handlerTypeDomain
|
return handlerTypeDomain
|
||||||
}
|
}
|
||||||
return handlerTypeDynamic
|
return handlerTypeDynamic
|
||||||
|
Loading…
x
Reference in New Issue
Block a user