summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig
diff options
context:
space:
mode:
authorkroy-the-rabbit <kroy@kroy.io>2020-03-23 15:25:40 -0500
committerGitHub <noreply@github.com>2020-03-23 15:25:40 -0500
commit0fee93305ac4cc1843cbd1e6b02ac5698f30b340 (patch)
tree3760355f613beef5b1d7f26e623495f4e59d6efd /python/vyos/ifconfig
parent71561a27a0338cba7c54ea8ae9bf14b75006ddbd (diff)
downloadvyos-1x-0fee93305ac4cc1843cbd1e6b02ac5698f30b340.tar.gz
vyos-1x-0fee93305ac4cc1843cbd1e6b02ac5698f30b340.zip
T2125: Fixing missing import
Diffstat (limited to 'python/vyos/ifconfig')
-rw-r--r--python/vyos/ifconfig/wireguard.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/vyos/ifconfig/wireguard.py b/python/vyos/ifconfig/wireguard.py
index 044041f68..f9b4bd1ed 100644
--- a/python/vyos/ifconfig/wireguard.py
+++ b/python/vyos/ifconfig/wireguard.py
@@ -18,6 +18,7 @@ import os
import vyos
from vyos.ifconfig.interface import Interface
+from datetime import timedelta
class WireGuardIf(Interface):
options = ['port', 'private-key', 'pubkey', 'psk',