Browse Source

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 <info@bnoordhuis.nl>
v1.8.0-commit
Todd Kennedy 10 years ago
committed by Ben Noordhuis
parent
commit
8b1db9c0a7
  1. 3
      doc/api/os.markdown

3
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.

Loading…
Cancel
Save