Fixed error in name resolution, when looking up an IP address string as ...

...a name.

Signed-off-by: Andrew Miller <amiller@dappervision.com>