ipn/policy: treat DNS service as interesting so it's not filtered out

The control plane is currently still eating it.

Updates #1713

Change-Id: I66a0698599d6794ab1302f9585bf29e38553c884
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/3492/head
Brad Fitzpatrick 3 years ago committed by Brad Fitzpatrick
parent de635ac0a8
commit 9f6249b26d

@ -14,7 +14,8 @@ import (
// system (a version.OS value) is an interesting enough port to report
// to our peer nodes for discovery purposes.
func IsInterestingService(s tailcfg.Service, os string) bool {
if s.Proto == "peerapi4" || s.Proto == "peerapi6" {
switch s.Proto {
case tailcfg.PeerAPI4, tailcfg.PeerAPI6, tailcfg.PeerAPIDNS:
return true
}
if s.Proto != tailcfg.TCP {

Loading…
Cancel
Save