summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorAndras Elso <ea333@freemail.hu>2019-11-17 18:09:25 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-17 18:09:25 +0100
commit1f7b0412316d0d3a308fca77c3a2bd0119287319 (patch)
tree7ccd193fab997ab370b9218fdaefab6d291c53ba /src/op_mode
parent05c9967ac3122b45dd2fe2ae48d67d5e2a3f14d7 (diff)
downloadvyos-1x-1f7b0412316d0d3a308fca77c3a2bd0119287319.tar.gz
vyos-1x-1f7b0412316d0d3a308fca77c3a2bd0119287319.zip
openvpn: fix typo in op-mode command on display rx bytes
Diffstat (limited to 'src/op_mode')
-rwxr-xr-xsrc/op_mode/show_openvpn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/show_openvpn.py b/src/op_mode/show_openvpn.py
index 577ed7eb7..06b90296f 100755
--- a/src/op_mode/show_openvpn.py
+++ b/src/op_mode/show_openvpn.py
@@ -28,7 +28,7 @@ OpenVPN status on {{ intf }}
Client CN Remote Host Local Host TX bytes RX bytes Connected Since
--------- ----------- ---------- -------- -------- ---------------
{%- for c in clients %}
-{{ "%-15s"|format(c.name) }} {{ "%-21s"|format(c.remote) }} {{ "%-21s"|format(local) }} {{ "%-9s"|format(c.tx_bytes) }} {{ "%-9s"|format(c.tx_bytes) }} {{ c.online_since }}
+{{ "%-15s"|format(c.name) }} {{ "%-21s"|format(c.remote) }} {{ "%-21s"|format(local) }} {{ "%-9s"|format(c.tx_bytes) }} {{ "%-9s"|format(c.rx_bytes) }} {{ c.online_since }}
{%- endfor %}
{% endif %}
"""