We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
18.0.0
debian 11
No response
const interfaces = os.networkInterfaces();
every time, under any known condition
for example
{ lo: [ { address: '127.0.0.1', netmask: '255.0.0.0', family: 'IPv4', mac: '00:00:00:00:00:00', internal: true, cidr: '127.0.0.1/8' }, { address: '::1', netmask: 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff', family: 'IPv6', mac: '00:00:00:00:00:00', scopeid: 0, internal: true, cidr: '::1/128' } ], eth0: [ { address: '192.168.1.108', netmask: '255.255.255.0', family: 'IPv4', mac: '01:02:03:0a:0b:0c', internal: false, cidr: '192.168.1.108/24' }, { address: 'fe80::a00:27ff:fe4e:66a1', netmask: 'ffff:ffff:ffff:ffff::', family: 'IPv6', mac: '01:02:03:0a:0b:0c', scopeid: 1, internal: false, cidr: 'fe80::a00:27ff:fe4e:66a1/64' } ] }
the output family value are all integers (4 or 6). This is not a consistent behavior expected and is not documented ...
family
The text was updated successfully, but these errors were encountered:
Duplicate of #42861.
Sorry, something went wrong.
No branches or pull requests
Version
18.0.0
Platform
debian 11
Subsystem
No response
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
every time, under any known condition
What is the expected behavior?
for example
What do you see instead?
the output
family
value are all integers (4 or 6). This is not a consistent behavior expected and is not documented ...Additional information
No response
The text was updated successfully, but these errors were encountered: