Skip to content

Commit 2608192

Browse files
committed
Fix not to double wrap teletype
1 parent 4c43bf5 commit 2608192

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: feature-dns.pl

+4-4
Original file line numberDiff line numberDiff line change
@@ -2072,12 +2072,12 @@ sub validate_dns
20722072
grep { $_->{'type'} eq 'AAAA' &&
20732073
$_->{'name'} eq $n } @$recs;
20742074
if (@nips && &indexof($ip, @nips) < 0) {
2075-
push(@recerrs, &text('validate_ednsip', "<tt>$n</tt>",
2076-
"<tt>".join(' or ', @nips)."</tt>", "<tt>$ip</tt>"));
2075+
push(@recerrs, &text('validate_ednsip', $n,
2076+
join(' or ', @nips), $ip));
20772077
}
20782078
if ($d->{'virt6'} && @nips6 && &indexof($ip6, @nips6) < 0) {
2079-
push(@recerrs, &text('validate_ednsip6', "<tt>$n</tt>",
2080-
"<tt>".join(' or ', @nips6)."</tt>", "<tt>$ip6</tt>"));
2079+
push(@recerrs, &text('validate_ednsip6', $n,
2080+
join(' or ', @nips6), $ip6));
20812081
}
20822082
}
20832083
}

0 commit comments

Comments
 (0)