Add ip_version rule item

This commit is contained in:
世界 committed 2022-08-16 23:47:14 +08:00
1 parent d6a0aa7ccf
commit f51128f772
10 files changed
+43 -6

No files matched your search

+1
View File
@@ -77,6 +77,7 @@ func (r *DNSRule) UnmarshalJSON(bytes []byte) error {
type DefaultDNSRule struct {
Inbound Listable[string] `json:"inbound,omitempty"`
IPVersion int `json:"ip_version,omitempty"`
Network string `json:"network,omitempty"`
AuthUser Listable[string] `json:"auth_user,omitempty"`
Protocol Listable[string] `json:"protocol,omitempty"`