Skip to content

Commit

Permalink
home: imp code
Browse files Browse the repository at this point in the history
  • Loading branch information
ainar-g committed May 20, 2021
1 parent 2af0f46 commit 0a5ff6a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/home/whois.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,12 @@ func whoisParse(data string) (m strmap) {
}

switch k {
case "org-name":
case "orgname", "org-name":
k = "orgname"
v = trimValue(v)
orgname = v
case "city", "country":
v = trimValue(v)
case "orgname":
v = trimValue(v)
orgname = v
case "descr", "netname":
k = "orgname"
v = coalesceStr(orgname, v)
Expand Down

0 comments on commit 0a5ff6a

Please sign in to comment.