Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 177635b

Browse filesBrowse files
jvelezpoaddaleax
authored andcommitted
doc: update os.networkInterfaces() example
The os.networkInterfaces() example was outdated as the IPv6 interfaces did not include the scopeid property, now they do. PR-URL: #25417 Fixes: #25408 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Weijia Wang <starkwang@126.com>
1 parent 1697604 commit 177635b
Copy full SHA for 177635b

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/os.md‎

Copy file name to clipboardExpand all lines: doc/api/os.md
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ The properties available on the assigned network address object include:
286286
netmask: 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff',
287287
family: 'IPv6',
288288
mac: '00:00:00:00:00:00',
289+
scopeid: 0,
289290
internal: true,
290291
cidr: '::1/128'
291292
}
@@ -304,6 +305,7 @@ The properties available on the assigned network address object include:
304305
netmask: 'ffff:ffff:ffff:ffff::',
305306
family: 'IPv6',
306307
mac: '01:02:03:0a:0b:0c',
308+
scopeid: 1,
307309
internal: false,
308310
cidr: 'fe80::a00:27ff:fe4e:66a1/64'
309311
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.