Skip to content

Commit

Permalink
!== instead of !=
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-shcherbakov committed Oct 5, 2015
1 parent 8e0f244 commit efcb370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/net.js
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ function lookupAndConnect(self, options) {
if (dnsopts.family !== 4 && dnsopts.family !== 6) {
// DO NOT USE AI_ADDRCONFIG ON WINDOWS.
// see http://src.chromium.org/viewvc/chrome/trunk/src/net/dns/host_resolver_proc.cc for details.
if (process.platform !== 'win32' || host != "localhost") {
if (process.platform !== 'win32' || host !== 'localhost') {
dnsopts.hints = dns.ADDRCONFIG;
}

Expand Down

1 comment on commit efcb370

@vladimir-shcherbakov
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.