mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 01:52:22 +08:00
Fix logical dns rule
This commit is contained in:
parent
c6962605e9
commit
a98b0341f3
|
@ -146,7 +146,7 @@ type LogicalDNSRule struct {
|
|||
DNSRuleAction
|
||||
}
|
||||
|
||||
func (r *LogicalDNSRule) MarshalJSON() ([]byte, error) {
|
||||
func (r LogicalDNSRule) MarshalJSON() ([]byte, error) {
|
||||
return badjson.MarshallObjects(r.RawLogicalDNSRule, r.DNSRuleAction)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user