1 parent d054f26 commit b864302Copy full SHA for b864302
1 file changed
output/some/some.go
@@ -107,7 +107,10 @@ func SomeOutputCert(res *result.CertResult) string {
107
if res.Alert != nil {
108
ret += fmt.Sprintf("\tALERT: %d %d", res.Alert.Level, res.Alert.Description)
109
}
110
- if res.Alert == nil || res.Alert.Level == result.AlertLevelWarning {
+ switch {
111
+ case res.DnsError != "":
112
+ ret += "\tDNSERR: " + res.DnsError
113
+ case res.Alert == nil || res.Alert.Level == result.AlertLevelWarning:
114
ret += fmt.Sprintf("\t%s\t%s\t%f\t%d",
115
res.Method,
116
res.ProtocolVersion,
0 commit comments