From 8b1db9c0a7dc39261218a0fac2dd6cf4fbb6a7b4 Mon Sep 17 00:00:00 2001 From: Todd Kennedy Date: Wed, 21 Jan 2015 14:32:37 -0500 Subject: [PATCH] doc: note in docs about missing interfaces Update the documentation for `os.networkInterfaces` to note that any interface that has not been assigned an address will not be displayed in the results Fixes: https://github.com/iojs/io.js/issues/498 PR-URL: https://github.com/iojs/io.js/pull/543 Reviewed-By: Ben Noordhuis --- doc/api/os.markdown | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/api/os.markdown b/doc/api/os.markdown index 58a80d074d0042..8fea2c61708b58 100644 --- a/doc/api/os.markdown +++ b/doc/api/os.markdown @@ -159,6 +159,9 @@ Get a list of network interfaces: mac: '01:02:03:0a:0b:0c', internal: false } ] } +Note that due to the underlying implementation this will only return network +interfaces that have been assigned an address. + ## os.EOL A constant defining the appropriate End-of-line marker for the operating system.