summaryrefslogtreecommitdiff
path: root/deps/uv/src/win/util.c
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2012-06-12 19:52:38 +0200
committerBert Belder <bertbelder@gmail.com>2012-06-12 19:52:38 +0200
commitcbeeea62cf10bbf71636fe03282590050beb1d36 (patch)
treebf8334f327c4fa3d0377537c294448de55094331 /deps/uv/src/win/util.c
parentb615077bab71db73cf065d6162cae8d6cb84d8d2 (diff)
downloadnode-new-cbeeea62cf10bbf71636fe03282590050beb1d36.tar.gz
Revert "uv: upgrade to b7e150ee"
Upgrade wasn't done correctly. This reverts commit b615077bab71db73cf065d6162cae8d6cb84d8d2.
Diffstat (limited to 'deps/uv/src/win/util.c')
-rw-r--r--deps/uv/src/win/util.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/deps/uv/src/win/util.c b/deps/uv/src/win/util.c
index 4ceae04036..be43d50d20 100644
--- a/deps/uv/src/win/util.c
+++ b/deps/uv/src/win/util.c
@@ -21,7 +21,6 @@
#include <assert.h>
#include <direct.h>
-#include <limits.h>
#include <malloc.h>
#include <stdio.h>
#include <string.h>
@@ -774,13 +773,8 @@ uv_err_t uv_interface_addresses(uv_interface_address_t** addresses,
for (adapter_address = adapter_addresses;
adapter_address != NULL;
adapter_address = adapter_address->Next) {
-
- if (adapter_address->OperStatus != IfOperStatusUp)
- continue;
-
unicast_address = (IP_ADAPTER_UNICAST_ADDRESS_XP*)
adapter_address->FirstUnicastAddress;
-
while (unicast_address) {
(*count)++;
unicast_address = unicast_address->Next;
@@ -798,10 +792,6 @@ uv_err_t uv_interface_addresses(uv_interface_address_t** addresses,
for (adapter_address = adapter_addresses;
adapter_address != NULL;
adapter_address = adapter_address->Next) {
-
- if (adapter_address->OperStatus != IfOperStatusUp)
- continue;
-
name = NULL;
unicast_address = (IP_ADAPTER_UNICAST_ADDRESS_XP*)
adapter_address->FirstUnicastAddress;