~stepbrobd/tailscale

0ffc7bf38b92f4b064d00fe89239f2da756de642 — Renato Aguiar a month ago 49de23c
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>
1 files changed, 1 insertions(+), 1 deletions(-)

M wgengine/userspace.go
M wgengine/userspace.go => wgengine/userspace.go +1 -1
@@ 1236,7 1236,7 @@ func (e *userspaceEngine) linkChange(delta *netmon.ChangeDelta) {
	// and Apple platforms.
	if changed {
		switch runtime.GOOS {
		case "linux", "android", "ios", "darwin":
		case "linux", "android", "ios", "darwin", "openbsd":
			e.wgLock.Lock()
			dnsCfg := e.lastDNSConfig
			e.wgLock.Unlock()