implement match_only for resolve routing action

This commit is contained in:
n3t1zen
2026-05-05 13:13:11 +08:00
parent f7add73f04
commit 1cd46d17cf
4 changed files with 40 additions and 1 deletions
+26
View File
@@ -0,0 +1,26 @@
--- a/adapter/inbound.go
+++ b/adapter/inbound.go
@@ -79,14 +79,15 @@
FallbackNetworkType []C.InterfaceType
FallbackDelay time.Duration
- DestinationAddresses []netip.Addr
- SourceGeoIPCode string
- GeoIPCode string
- ProcessInfo *ConnectionOwner
- SourceMACAddress net.HardwareAddr
- SourceHostname string
- QueryType uint16
- FakeIP bool
+ DestinationAddresses []netip.Addr
+ IgnoreDestinationAddresses bool
+ SourceGeoIPCode string
+ GeoIPCode string
+ ProcessInfo *ConnectionOwner
+ SourceMACAddress net.HardwareAddr
+ SourceHostname string
+ QueryType uint16
+ FakeIP bool
// rule cache