adapter: remove unused DestinationAddressesForMatch

This commit is contained in:
世界
2026-03-31 17:21:06 +08:00
parent 5e18b7eb48
commit 73c7d7ec82

View File

@@ -118,13 +118,6 @@ func (c *InboundContext) ResetRuleMatchCache() {
c.DidMatch = false
}
func (c *InboundContext) DestinationAddressesForMatch() []netip.Addr {
if c.DestinationAddressMatchFromResponse {
return DNSResponseAddresses(c.DNSResponse)
}
return c.DestinationAddresses
}
func (c *InboundContext) DNSResponseAddressesForMatch() []netip.Addr {
return DNSResponseAddresses(c.DNSResponse)
}