implement match_only for resolve routing action

This commit is contained in:
n3t1zen committed 2026-05-05 13:13:11 +08:00
1 parent f7add73f04
commit 1cd46d17cf
4 files changed
+40 -1

No files matched your search

+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