Skip to content

Commit 8b1db9c

Browse files
toddselfbnoordhuis
authored andcommitted
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: #498 PR-URL: #543 Reviewed-By: Ben Noordhuis <[email protected]>
1 parent 2928ac6 commit 8b1db9c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/api/os.markdown

+3
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ Get a list of network interfaces:
159159
mac: '01:02:03:0a:0b:0c',
160160
internal: false } ] }
161161

162+
Note that due to the underlying implementation this will only return network
163+
interfaces that have been assigned an address.
164+
162165
## os.EOL
163166

164167
A constant defining the appropriate End-of-line marker for the operating system.

0 commit comments

Comments
 (0)