diff --git a/route/rule_item_domain.go b/route/rule_item_domain.go index d2a11181..36839a55 100644 --- a/route/rule_item_domain.go +++ b/route/rule_item_domain.go @@ -30,11 +30,11 @@ func NewDomainItem(domains []string, domainSuffixes []string) *DomainItem { description += " " } if dsLen == 1 { - description += "domainSuffix=" + domainSuffixes[0] + description += "domain_suffix=" + domainSuffixes[0] } else if dsLen > 3 { - description += "domainSuffix=[" + strings.Join(domainSuffixes[:3], " ") + "...]" + description += "domain_suffix=[" + strings.Join(domainSuffixes[:3], " ") + "...]" } else { - description += "domainSuffix=[" + strings.Join(domainSuffixes, " ") + "]" + description += "domain_suffix=[" + strings.Join(domainSuffixes, " ") + "]" } } return &DomainItem{