mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-22 16:41:30 +00:00
Fix logical dns rule
This commit is contained in:
parent
5139e5232e
commit
2fb041ac9a
|
@ -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 a new issue