bugfix networkInterfaces() - optimized ip6 address selection
This commit is contained in:
parent
fb0b40d2db
commit
781fd741b9
@ -98,6 +98,7 @@ Other changes
|
||||
|
||||
| Version | Date | Comment |
|
||||
| -------------- | -------------- | -------- |
|
||||
| 3.30.2 | 2017-09-26 | bugfix `networkInterfaces()` - optimized ip6 address selection |
|
||||
| 3.30.1 | 2017-09-21 | bugfix/typo `inetChecksite()` |
|
||||
| 3.30.0 | 2017-09-21 | extended `versions()` (added `yarn`, `gulp`, `grunt`, `tsc`, `git`) |
|
||||
| 3.29.0 | 2017-09-15 | extended windows support `services()`, optimized `diskLayout()` (OSX), bugfixes |
|
||||
|
||||
@ -548,6 +548,7 @@ Written by Sebastian Hildebrandt [sebhildebrandt](https://github.com/sebhildebra
|
||||
- csy [csy](https://github.com/csy1983)
|
||||
- Tiago Roldão [tiagoroldao](https://github.com/tiagoroldao)
|
||||
- dragonjet [dragonjet](https://github.com/dragonjet)
|
||||
- Adam Reis [adamreisnz](https://github.com/adamreisnz)
|
||||
|
||||
OSX Temperature: Credits here are going to:
|
||||
|
||||
|
||||
@ -144,7 +144,9 @@ function networkInterfaces(callback) {
|
||||
ip4 = details.address
|
||||
}
|
||||
if (details.family === 'IPv6') {
|
||||
ip6 = details.address
|
||||
if (!ip6 || ip6.match(/^fe80::/i)) {
|
||||
ip6 = details.address
|
||||
}
|
||||
}
|
||||
mac = details.mac;
|
||||
if (mac.indexOf('00:00:0') > -1 && (_linux || _darwin)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user