Commit 5086d6ef authored by cjihrig's avatar cjihrig Committed by Trevor Norris
Browse files

dns: throw if hostname is not string or falsey

Fix assertion failure from poor argument parsing logic introduced in
6ea5d167. Add tests to make sure arguments are properly parsed.

Fixes: 6ea5d167

 "dns: always set variable family in lookup()"
Reviewed-by: default avatarTrevor Norris <trev.norris@gmail.com>
parent 437c2f43
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment