Commit e643fe4c authored by Trevor Norris's avatar Trevor Norris
Browse files

dns: fix GetAddrInfo assert

The method GetAddrInfo() is used by more than just dns.lookup(), and in
those cases a third argument isn't passed. This caused the following
check to abort:

  assert(args[3]->IsInt32());

Fixes: 43067864

 "net: don't prefer IPv4 addresses during resolution"

Signed-off-by: default avatarTrevor Norris <trev.norris@gmail.com>
parent 43067864
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