diff --git a/template/render_inbounds.go b/template/render_inbounds.go index 25671d3..237d8c3 100644 --- a/template/render_inbounds.go +++ b/template/render_inbounds.go @@ -54,6 +54,7 @@ func (t *Template) renderInbounds(metadata M.Metadata, options *option.Options) tunOptions.StrictRoute = true } if disableRuleAction { + //nolint:staticcheck tunOptions.InboundOptions = option.InboundOptions{ SniffEnabled: !t.DisableSniff, } @@ -97,6 +98,7 @@ func (t *Template) renderInbounds(metadata M.Metadata, options *option.Options) SetSystemProxy: metadata.Platform == M.PlatformUnknown && disableTun && !t.DisableSystemProxy, } if disableRuleAction { + //nolint:staticcheck mixedOptions.InboundOptions = option.InboundOptions{ SniffEnabled: !t.DisableSniff, DomainStrategy: domainStrategy,