- 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)
|
m[k] = trimValue(v)
|
||||||
|
|
||||||
case "descr":
|
case "descr":
|
||||||
|
if len(descr) == 0 {
|
||||||
descr = v
|
descr = v
|
||||||
|
}
|
||||||
case "netname":
|
case "netname":
|
||||||
netname = v
|
netname = v
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue