summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 41d2a31..ba9579b 100644
--- a/main.go
+++ b/main.go
@@ -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]
}