- whois: use the first "descr" field, not the last
This commit is contained in:
parent
3b9b37dde7
commit
e9186e6202
|
@ -75,7 +75,9 @@ func whoisParse(data string) map[string]string {
|
|||
m[k] = trimValue(v)
|
||||
|
||||
case "descr":
|
||||
descr = v
|
||||
if len(descr) == 0 {
|
||||
descr = v
|
||||
}
|
||||
case "netname":
|
||||
netname = v
|
||||
|
||||
|
|
Loading…
Reference in New Issue