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)