@@ -98,10 +98,6 @@ type Knobs struct {
9898 // allows us to disable the new behavior remotely if needed.
9999 DisableLocalDNSOverrideViaNRPT atomic.Bool
100100
101- // DisableCryptorouting indicates that the node should not use the
102- // magicsock crypto routing feature.
103- DisableCryptorouting atomic.Bool
104-
105101 // DisableCaptivePortalDetection is whether the node should not perform captive portal detection
106102 // automatically when the network state changes.
107103 DisableCaptivePortalDetection atomic.Bool
@@ -137,7 +133,6 @@ func (k *Knobs) UpdateFromNodeAttributes(capMap tailcfg.NodeCapMap) {
137133 userDialUseRoutes = has (tailcfg .NodeAttrUserDialUseRoutes )
138134 disableSplitDNSWhenNoCustomResolvers = has (tailcfg .NodeAttrDisableSplitDNSWhenNoCustomResolvers )
139135 disableLocalDNSOverrideViaNRPT = has (tailcfg .NodeAttrDisableLocalDNSOverrideViaNRPT )
140- disableCryptorouting = has (tailcfg .NodeAttrDisableMagicSockCryptoRouting )
141136 disableCaptivePortalDetection = has (tailcfg .NodeAttrDisableCaptivePortalDetection )
142137 disableSkipStatusQueue = has (tailcfg .NodeAttrDisableSkipStatusQueue )
143138 )
@@ -165,7 +160,6 @@ func (k *Knobs) UpdateFromNodeAttributes(capMap tailcfg.NodeCapMap) {
165160 k .UserDialUseRoutes .Store (userDialUseRoutes )
166161 k .DisableSplitDNSWhenNoCustomResolvers .Store (disableSplitDNSWhenNoCustomResolvers )
167162 k .DisableLocalDNSOverrideViaNRPT .Store (disableLocalDNSOverrideViaNRPT )
168- k .DisableCryptorouting .Store (disableCryptorouting )
169163 k .DisableCaptivePortalDetection .Store (disableCaptivePortalDetection )
170164 k .DisableSkipStatusQueue .Store (disableSkipStatusQueue )
171165}
0 commit comments