gluon-status-page: fix display of rx and tx traffic

On the status page statistics section counters for transmitted and received traffic were mixed up. Transmitted traffic was shown as received while received traffic was shown as being transmitted.

Fixes #586
This commit is contained in:
Nils Schneider 2015-12-07 13:44:17 +01:00
parent 108a1116d1
commit 0bb530d1c6

View File

@ -252,8 +252,8 @@ define(["lib/helper"], function (Helper) {
table = document.createElement("table")
mkTrafficRow(table, children, "Gesendet", stream, ".traffic.rx")
mkTrafficRow(table, children, "Empfangen", stream, ".traffic.tx")
mkTrafficRow(table, children, "Gesendet", stream, ".traffic.tx")
mkTrafficRow(table, children, "Empfangen", stream, ".traffic.rx")
mkTrafficRow(table, children, "Weitergeleitet", stream, ".traffic.forward")
el.appendChild(table)