complete match_only

This commit is contained in:
n3t1zen
2026-05-06 01:35:53 +08:00
parent 9fdd855bd5
commit 9460e860b0
5 changed files with 77 additions and 13 deletions
+10
View File
@@ -0,0 +1,10 @@
--- a/option/rule_action.go
+++ b/option/rule_action.go
@@ -312,6 +312,7 @@
DisableCache bool `json:"disable_cache,omitempty"`
RewriteTTL *uint32 `json:"rewrite_ttl,omitempty"`
ClientSubnet *badoption.Prefixable `json:"client_subnet,omitempty"`
+ MatchOnly bool `json:"match_only,omitempty"`
}
type DNSRouteActionPredefined struct {