The targets are not always hostnames

If a target specified on the command line equals its IP address string,
don't put the string as a hostname in the results.
Fix subnet targets
-Wpedantic/scan-build stuff
No more Clang bullshit