diff --git a/CHANGELOG.md b/CHANGELOG.md
index 840e69e..598d4b4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -80,6 +80,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment |
| -------------- | -------------- | -------- |
+| 5.11.0 | 2022-01-26 | `networkInterfaces()` added default property and parameter |
| 5.10.7 | 2022-01-21 | `processes()` reverted PR #560 (windows) |
| 5.10.6 | 2022-01-21 | `usb()` fix `users()` fix tty (windows) |
| 5.10.5 | 2022-01-19 | `processes()` fix calculation (windows) |
diff --git a/README.md b/README.md
index 9a6cf16..bf80acf 100644
--- a/README.md
+++ b/README.md
@@ -101,6 +101,7 @@ si.cpu()
(last 7 major and minor version releases)
+- Version 5.11.0: `networkInterfaces()` added default property and default parameter
- Version 5.10.0: basic `android` support
- Version 5.9.0: `graphics()` added properties (macOS)
- Version 5.8.0: `disksIO()` added waitTime, waitPercent (linux)
@@ -539,9 +540,10 @@ Full function reference with examples can be found at [https://systeminformation
| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments |
| --------------- | ------------- | ----- | ------- | --- | --- | --- | -------- |
-| si.networkInterfaces(cb) | [{...}] | X | X | X | X | X | array of network interfaces |
+| si.networkInterfaces(cb) | [{...}] | X | X | X | X | X | array of network interfaces
With the 'default' parameter it returns
only the default interface |
| | [0].iface | X | X | X | X | X | interface |
| | [0].ifaceName | X | X | X | X | X | interface name (differs on Windows) |
+| | [0].default | X | X | X | X | X | true if this is the default interface |
| | [0].ip4 | X | X | X | X | X | ip4 address |
| | [0].ip4subnet | X | X | X | X | X | ip4 subnet mask |
| | [0].ip6 | X | X | X | X | X | ip6 address |
diff --git a/docs/history.html b/docs/history.html
index 507b3bb..70e7c73 100644
--- a/docs/history.html
+++ b/docs/history.html
@@ -57,6 +57,11 @@
With the 'default' parameter this function returns only the default interface
+const si = require('systeminformation');
+si.networkInterfaces('default').then(data => console.log(data));
+
+{
+ iface: 'en0',
+ ifaceName: 'en0',
+ default: true,
+ ip4: '192.168.0.27',
+ ip4subnet: '255.255.255.0',
+ ip6: 'fe80::134a:1e43:abc5:d413',
+ ip6subnet: 'ffff:ffff:ffff:ffff::',
+ mac: 'xx:xx:xx:xx:xx:xx',
+ internal: false,
+ virtual: false,
+ operstate: 'up',
+ type: 'wired',
+ duplex: 'full',
+ mtu: 1500,
+ speed: 1000,
+ dhcp: true,
+ dnsSuffix: '',
+ ieee8021xAuth: '',
+ ieee8021xState: '',
+ carrierChanges: 0
+}