From c1ff6a08f041326d6b72bf359f429a565e3b0676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Wed, 1 Apr 2026 13:07:29 +0800 Subject: [PATCH] Format code --- adapter/inbound.go | 4 ++-- route/rule/rule_item_response_rcode.go | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/adapter/inbound.go b/adapter/inbound.go index 28147e917..505acab0e 100644 --- a/adapter/inbound.go +++ b/adapter/inbound.go @@ -97,8 +97,8 @@ type InboundContext struct { IPCIDRMatchSource bool IPCIDRAcceptEmpty bool - SourceAddressMatch bool - SourcePortMatch bool + SourceAddressMatch bool + SourcePortMatch bool DestinationAddressMatch bool DestinationPortMatch bool DidMatch bool diff --git a/route/rule/rule_item_response_rcode.go b/route/rule/rule_item_response_rcode.go index e416c1d77..cac75e803 100644 --- a/route/rule/rule_item_response_rcode.go +++ b/route/rule/rule_item_response_rcode.go @@ -1,9 +1,10 @@ package rule import ( - "github.com/miekg/dns" "github.com/sagernet/sing-box/adapter" F "github.com/sagernet/sing/common/format" + + "github.com/miekg/dns" ) var _ RuleItem = (*DNSResponseRCodeItem)(nil)