- whois: use the first "descr" field, not the last

This commit is contained in:
Simon Zolin 2019-10-07 19:27:16 +03:00
parent 3b9b37dde7
commit e9186e6202

View File

@ -75,7 +75,9 @@ func whoisParse(data string) map[string]string {
m[k] = trimValue(v)
case "descr":
if len(descr) == 0 {
descr = v
}
case "netname":
netname = v