diff options
author | Aijay Adams <aijayadams@users.noreply.github.com> | 2016-10-17 14:39:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-17 14:39:25 -0700 |
commit | 1e1a748b88ef7c07d5a64d8ea7bc185b6bbf211d (patch) | |
tree | 26552b9ca12fd75c40259c9b16ad1a8c4639add9 | |
parent | 6712c310faaf8e177dbe6897d64138e1499b51ae (diff) | |
parent | a327c31c58240a32811a6fb3c7d3c46848512bf2 (diff) | |
download | fbtracert-1e1a748b88ef7c07d5a64d8ea7bc185b6bbf211d.zip fbtracert-1e1a748b88ef7c07d5a64d8ea7bc185b6bbf211d.tar.gz fbtracert-1e1a748b88ef7c07d5a64d8ea7bc185b6bbf211d.tar.bz2 |
Merge pull request #8 from dgjustice/master
Print IP address instead of "?" on DNS failure
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -320,7 +320,7 @@ func Resolver(input chan interface{}) (chan interface{}, error) { resp := val.(ICMPResponse) names, err := net.LookupAddr(resp.fromAddr.String()) if err != nil { - resp.fromName = "?" + resp.fromName = resp.fromAddr.String() } else { resp.fromName = names[0] } |