Skip to content

Backport 11037 - v6.x - doc: change logical to bitwise OR in dns lookup

The hints value will be a number. To specify more than one hints, their corresponding bits have to be set. So bitwise OR should be used instead of logical OR.

PR-URL: https://github.com/nodejs/node/pull/11037

Reviewed-By: Colin Ihrig cjihrig@gmail.com Reviewed-By: Timothy Gu timothygu99@gmail.com Reviewed-By: Sam Roberts vieuxtech@gmail.com Reviewed-By: Luigi Pinca luigipinca@gmail.com Reviewed-By: James M Snell jasnell@gmail.com

Checklist
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

doc

Merge request reports

Loading