From f078e743c9c36b07a98d7ab433483cfca8ed2e0a Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 19 May 2020 22:27:50 +0200 Subject: wireguard: T2481: support IPv6 based underlay --- python/vyos/ifconfig/wireguard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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) -- cgit v1.2.3