19 lines
560 B
Diff
19 lines
560 B
Diff
--- a/route/rule/rule_action.go
|
|
+++ b/route/rule/rule_action.go
|
|
@@ -112,6 +112,7 @@
|
|
DisableCache: action.ResolveOptions.DisableCache,
|
|
RewriteTTL: action.ResolveOptions.RewriteTTL,
|
|
ClientSubnet: action.ResolveOptions.ClientSubnet.Build(netip.Prefix{}),
|
|
+ MatchOnly: action.ResolveOptions.MatchOnly,
|
|
}, nil
|
|
default:
|
|
panic(F.ToString("unknown rule action: ", action.Action))
|
|
@@ -476,6 +477,7 @@
|
|
DisableCache bool
|
|
RewriteTTL *uint32
|
|
ClientSubnet netip.Prefix
|
|
+ MatchOnly bool
|
|
}
|
|
|
|
func (r *RuleActionResolve) Type() string {
|