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