From f2fbfed412d0191e16fdb9f15bd82622393404ce Mon Sep 17 00:00:00 2001 From: Lan Tian Date: Fri, 10 Jul 2020 00:03:19 +0800 Subject: [PATCH] frontend: for DN42 also filter whois lines beginning with space --- frontend/dn42.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/dn42.go b/frontend/dn42.go index c3f8a18..51bea69 100644 --- a/frontend/dn42.go +++ b/frontend/dn42.go @@ -14,7 +14,7 @@ func dn42WhoisFilter(whois string) string { filteredPrefix := []string{ "descr:", "remarks:", "ds-rdata:", "auth:", "country:", "nserver:", "status:", "pgp-fingerprint:", "mp-import:", "mp-export:", - "members:", "key:", "inetnum:", "inet6num:", + "members:", "key:", "inetnum:", "inet6num:", " ", } for _, s := range strings.Split(whois, "\n") { if len(s) == 0 {