Minor bug fix

This commit is contained in:
Patrick Pacher
2020-04-21 09:59:36 +02:00
parent f2e41a0d32
commit a07c36159b
2 changed files with 2 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ func (br ListBlockReason) ToRRs() []dns.RR {
wouldBeBlockedBy, err := dns.NewRR(fmt.Sprintf(
"%s-wouldBeBlockedBy. 0 IN TXT %q",
strings.TrimRight(lm.Entity, "."),
strings.Join(lm.ActiveLists, ","),
strings.Join(lm.InactiveLists, ","),
))
if err == nil {
rrs = append(rrs, wouldBeBlockedBy)