mirror of https://github.com/nodejs/node.git
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>pull/564/merge
parent
2928ac68e5
commit
8b1db9c0a7
|
@ -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…
Reference in New Issue