Browse Source

* Fix the fix.

pull/5/head
Per-Arne 5 years ago
parent
commit
03a1f29415
  1. 2
      wg_dashboard_backend/script/wireguard.py

2
wg_dashboard_backend/script/wireguard.py

@ -160,7 +160,7 @@ def get_stats(server: schemas.WGServer):
rx=None,
tx=None
))
elif len(lines) == 5:
elif len(lines) == 5 or len(lines) == 6:
public_key = lines[0]
client_endpoint, allowed_ips, handshake, rx_tx = lines[-4:] # [1] is sometimes psk

Loading…
Cancel
Save