networkInterfaces() added subnet mask ip4 and ip6

This commit is contained in:
Sebastian Hildebrandt
2020-05-01 20:21:23 +02:00
parent 0495740a32
commit 4c6b6a257a
9 changed files with 60 additions and 3 deletions
+5
View File
@@ -83,6 +83,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">4.24.0</th>
<td>2020-05-01</td>
<td><span class="code">networkInterfaces()</span> added netmask ip4 and ip6</td>
</tr>
<tr>
<th scope="row">4.23.10</th>
<td>2020-05-01</td>
+1 -1
View File
@@ -168,7 +168,7 @@
<img class="logo" src="assets/logo.png">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span></div>
<div class="version">Current Version: <span id="version">4.23.10</span></div>
<div class="version">Current Version: <span id="version">4.24.0</span></div>
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
</div>
<div class="down">
+24
View File
@@ -105,6 +105,16 @@
<td>X</td>
<td>ip4 address</td>
</tr>
<tr>
<td></td>
<td>[0].ip4subnet</td>
<td>X</td>
<td>X</td>
<td>X</td>
<td>X</td>
<td>X</td>
<td>ip4 subnet mask</td>
</tr>
<tr>
<td></td>
<td>[0].ip6</td>
@@ -115,6 +125,16 @@
<td>X</td>
<td>ip6 address</td>
</tr>
<tr>
<td></td>
<td>[0].ip6subnet</td>
<td>X</td>
<td>X</td>
<td>X</td>
<td>X</td>
<td>X</td>
<td>ip6 subnet mask</td>
</tr>
<tr>
<td></td>
<td>[0].mac</td>
@@ -257,7 +277,9 @@ si.networkInterfaces().then(data => console.log(data));</code></pre class="examp
iface: 'lo0',
ifaceName: 'lo0',
ip4: '127.0.0.1',
ip4subnet: '255.0.0.0',
ip6: '::1',
ip6subnet: 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff',
mac: '',
internal: true,
virtual: false,
@@ -276,7 +298,9 @@ si.networkInterfaces().then(data => console.log(data));</code></pre class="examp
iface: 'en0',
ifaceName: 'en0',
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,