feat(net): All tokens for all labels

If you have `accumulate-stats = true` it is useful to be able to display
the current network speed even if the interface is disconnected.
This commit is contained in:
patrick96 2019-01-12 15:48:23 +01:00 committed by Patrick Ziegler
parent 014606294c
commit 01be9b3504

View File

@ -136,6 +136,9 @@ namespace modules {
if (m_label[connection_state::PACKETLOSS]) {
replace_tokens(m_label[connection_state::PACKETLOSS]);
}
if (m_label[connection_state::DISCONNECTED]) {
replace_tokens(m_label[connection_state::DISCONNECTED]);
}
return true;
}