From e5f2506199b5a2833b19267fd83d3064169e635c Mon Sep 17 00:00:00 2001 From: Cuong Manh Le Date: Wed, 12 Aug 2026 14:42:34 +0700 Subject: [PATCH] cmd/cli: fix linter --- cmd/cli/dns_intercept_darwin.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmd/cli/dns_intercept_darwin.go b/cmd/cli/dns_intercept_darwin.go index c177aa1..9087744 100644 --- a/cmd/cli/dns_intercept_darwin.go +++ b/cmd/cli/dns_intercept_darwin.go @@ -792,10 +792,6 @@ func (p *prog) buildPFAnchorRulesWith(vpnExemptions []vpnDNSExemption, forwarded return p.buildPFAnchorRulesForState(vpnExemptions, discoverTunnelInterfacesForReconcile(), forwardedSources) } -func (p *prog) buildPFAnchorRulesForTunnels(vpnExemptions []vpnDNSExemption, tunnelIfaces []string) string { - return p.buildPFAnchorRulesForState(vpnExemptions, tunnelIfaces, p.currentForwardedSources()) -} - func (p *prog) buildPFAnchorRulesForState(vpnExemptions []vpnDNSExemption, tunnelIfaces []string, forwardedSources []forwardedSource) string { // Read the actual listener address from config. In intercept mode, ctrld may // be on a non-standard port (e.g., 127.0.0.1:5354) if mDNSResponder holds *:53.