diff options
author | d3justi <motorockwarrior@gmail.com> | 2016-10-17 13:40:12 -0500 |
---|---|---|
committer | d3justi <motorockwarrior@gmail.com> | 2016-10-17 13:40:12 -0500 |
commit | a327c31c58240a32811a6fb3c7d3c46848512bf2 (patch) | |
tree | 26552b9ca12fd75c40259c9b16ad1a8c4639add9 | |
parent | 6712c310faaf8e177dbe6897d64138e1499b51ae (diff) | |
download | fbtracert-a327c31c58240a32811a6fb3c7d3c46848512bf2.zip fbtracert-a327c31c58240a32811a6fb3c7d3c46848512bf2.tar.gz fbtracert-a327c31c58240a32811a6fb3c7d3c46848512bf2.tar.bz2 |
Changes to be committed:
modified: main.go - Changed question mark in Resolver to use IP address 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] } |