summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-19 22:27:50 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-19 22:27:50 +0200
commitf078e743c9c36b07a98d7ab433483cfca8ed2e0a (patch)
tree8e69bbbe54556042cf086e77742e537913954907 /python
parentbc060277ab553a1971054b4990a70c7476cae62f (diff)
downloadvyos-1x-f078e743c9c36b07a98d7ab433483cfca8ed2e0a.tar.gz
vyos-1x-f078e743c9c36b07a98d7ab433483cfca8ed2e0a.zip
wireguard: T2481: support IPv6 based underlay
Diffstat (limited to 'python')
-rw-r--r--python/vyos/ifconfig/wireguard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/wireguard.py b/python/vyos/ifconfig/wireguard.py
index fdf5d9347..027b5ea8c 100644
--- a/python/vyos/ifconfig/wireguard.py
+++ b/python/vyos/ifconfig/wireguard.py
@@ -208,7 +208,7 @@ class WireGuardIf(Interface):
else:
cmd += aip
if self.config['endpoint']:
- cmd += " endpoint {}".format(self.config['endpoint'])
+ cmd += " endpoint '{}'".format(self.config['endpoint'])
cmd += " persistent-keepalive {}".format(self.config['keepalive'])
self._cmd(cmd)