summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-24 07:09:56 +0100
committerGitHub <noreply@github.com>2020-03-24 07:09:56 +0100
commit92e6efeec0e46570daacd5d96e754a3c89868e0b (patch)
tree052e489023a1b31a548aef5e3b2b2b80ae764ca9 /python
parent71561a27a0338cba7c54ea8ae9bf14b75006ddbd (diff)
parentfdfe189f7bc02a6633ae9484f4174f99c7ad5622 (diff)
downloadvyos-1x-92e6efeec0e46570daacd5d96e754a3c89868e0b.tar.gz
vyos-1x-92e6efeec0e46570daacd5d96e754a3c89868e0b.zip
Merge pull request #262 from kroy-the-rabbit/current
T2125: Fixing missing import
Diffstat (limited to 'python')
-rw-r--r--python/vyos/ifconfig/wireguard.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/vyos/ifconfig/wireguard.py b/python/vyos/ifconfig/wireguard.py
index 044041f68..71ee67c98 100644
--- a/python/vyos/ifconfig/wireguard.py
+++ b/python/vyos/ifconfig/wireguard.py
@@ -18,6 +18,9 @@ import os
import vyos
from vyos.ifconfig.interface import Interface
+from datetime import timedelta
+import time
+from hurry.filesize import size,alternative
class WireGuardIf(Interface):
options = ['port', 'private-key', 'pubkey', 'psk',