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:Trevor Norris <trev.norris@gmail.com>
parent
437c2f43
Please register or sign in to comment