mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-21 06:01:42 +00:00
Fix MagicDNS on OpenBSD
Add OpenBSD to the list of platforms that need DNS reconfigured on link changes. Signed-off-by: Renato Aguiar <renato@renatoaguiar.net>
This commit is contained in:
parent
49de23cf1b
commit
0ffc7bf38b
@ -1236,7 +1236,7 @@ func (e *userspaceEngine) linkChange(delta *netmon.ChangeDelta) {
|
|||||||
// and Apple platforms.
|
// and Apple platforms.
|
||||||
if changed {
|
if changed {
|
||||||
switch runtime.GOOS {
|
switch runtime.GOOS {
|
||||||
case "linux", "android", "ios", "darwin":
|
case "linux", "android", "ios", "darwin", "openbsd":
|
||||||
e.wgLock.Lock()
|
e.wgLock.Lock()
|
||||||
dnsCfg := e.lastDNSConfig
|
dnsCfg := e.lastDNSConfig
|
||||||
e.wgLock.Unlock()
|
e.wgLock.Unlock()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user