route/rule: remove dead IgnoreDestinationIPCIDRMatch field

The field was never set to true after the legacy pre-match refactor
in 3549c02b8. Remove the declaration, guard check, and redundant
false assignments.
This commit is contained in:
世界
2026-03-31 15:29:50 +08:00
parent 866731344f
commit be4e696632
3 changed files with 4 additions and 8 deletions

View File

@@ -99,10 +99,9 @@ type InboundContext struct {
SourceAddressMatch bool
SourcePortMatch bool
DestinationAddressMatch bool
DestinationPortMatch bool
DidMatch bool
IgnoreDestinationIPCIDRMatch bool
DestinationAddressMatch bool
DestinationPortMatch bool
DidMatch bool
}
func (c *InboundContext) ResetRuleCache() {