diff --git a/CHANGELOG.md b/CHANGELOG.md
index b4cf800..5693edf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page.
| Version | Date | Comment |
| -------------- | -------------- | -------- |
+| 4.0.7 | 2019-02-05 | `inetLatency()` latency Windows fix |
| 4.0.6 | 2019-02-04 | powershell catch error |
| 4.0.5 | 2019-02-03 | updated docs |
| 4.0.4 | 2019-02-03 | code cleanup, updated docs |
diff --git a/docs/history.html b/docs/history.html
index ef755e3..7e10b2b 100644
--- a/docs/history.html
+++ b/docs/history.html
@@ -80,6 +80,11 @@
+
+ | 4.0.7 |
+ 2019-02-06 |
+ inetLatency() latency Windows fix |
+
| 4.0.6 |
2019-02-04 |
diff --git a/docs/index.html b/docs/index.html
index d4de2af..640cafb 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -170,7 +170,7 @@
systeminformation
- Current Version: 4.0.6
+ Current Version: 4.0.7
diff --git a/lib/internet.js b/lib/internet.js
index 51b7b76..c21b63d 100644
--- a/lib/internet.js
+++ b/lib/internet.js
@@ -160,7 +160,7 @@ function inetLatency(host, callback) {
let lines = stdout.toString().split('\r\n');
lines.shift();
lines.forEach(function (line) {
- if (line.toLowerCase().startsWith(' min')) {
+ if (line.toLowerCase().indexOf('ms,') > -1) {
let l = line.replace(/ +/g, ' ').split(' ');
if (l.length > 8) {
result = parseFloat(l[9]);