diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6837f4a..e765e90 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.33.6 | 2021-01-02 | `dockerContainerStats()` fix `tx` changed to `wx` as documented |
| 4.33.5 | 2020-12-30 | `graphics()` vram (nvidia-smi) |
| 4.33.4 | 2020-12-28 | `typescript` typings fix |
| 4.33.3 | 2020-12-27 | `graphics()` updated docs |
diff --git a/docs/history.html b/docs/history.html
index 0123302..b4e7982 100644
--- a/docs/history.html
+++ b/docs/history.html
@@ -83,6 +83,11 @@
+
+ | 4.33.6 |
+ 2021-01-02 |
+ dockerContainerStats() fix 'tx' changed to 'wx' as documented |
+
| 4.33.5 |
2020-12-30 |
diff --git a/docs/index.html b/docs/index.html
index ea61376..f96886b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -169,7 +169,7 @@
systeminformation
- Current Version: 4.33.5
+ Current Version: 4.33.6
diff --git a/lib/docker.js b/lib/docker.js
index 271507b..5f1f045 100644
--- a/lib/docker.js
+++ b/lib/docker.js
@@ -273,7 +273,7 @@ function docker_calcCPUPercent(cpu_stats, precpu_stats) {
function docker_calcNetworkIO(networks) {
let rx;
- let tx;
+ let wx;
for (let key in networks) {
// skip loop if the property is from prototype
if (!{}.hasOwnProperty.call(networks, key)) continue;
@@ -285,11 +285,11 @@ function docker_calcNetworkIO(networks) {
*/
let obj = networks[key];
rx = +obj.rx_bytes;
- tx = +obj.tx_bytes;
+ wx = +obj.tx_bytes;
}
return {
- rx: rx,
- tx: tx
+ rx,
+ wx
};
}