Commit 6ea5d167 authored by cjihrig's avatar cjihrig Committed by Trevor Norris
Browse files

dns: always set variable family in lookup()

Regression occurred that prevented the variable "family" from being set
properly when the lookup() function's "options" parameter was passed a
number instead of an object.

Also included a sanity check by setting the default value of "family" to
a value that will not pass verification.

Fixes: e643fe4c

 "dns: fix GetAddrInfo assert"
Reviewed-by: default avatarAlexis Campailla <alexis@janeasystems.com>
Reviewed-by: default avatarTrevor Norris <trev.norris@gmail.com>
parent 10fa8e39
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