mirror of git://git.acid.vegas/massrdns.git
Made output aligned better
This commit is contained in:
parent
c95e0f15f7
commit
45925adbff
|
@ -77,7 +77,7 @@ func reverseDNSLookup(ip string, server string) (string, error) {
|
|||
if len(names) == 0 {
|
||||
return fmt.Sprintf("%s | %-18s | No PTR records", time.Now().Format("03:04:05 PM"), server), nil
|
||||
}
|
||||
return fmt.Sprintf("%s | %s | %-18s", time.Now().Format("03:04:05 PM"), server, names[0]), nil
|
||||
return fmt.Sprintf("%s | %-18s | %s", time.Now().Format("03:04:05 PM"), server, names[0]), nil
|
||||
}
|
||||
|
||||
func isNetworkError(err error) bool {
|
||||
|
|
Loading…
Reference in New Issue