From 38c9e711449c649d2b074da2f9dbea6f7eddcb88 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Tue, 20 Nov 2018 20:59:48 -0500 Subject: [PATCH] Fix last few options for DHCPv6 Closes #26 --- node-daemon/pvcd/VXNetworkInstance.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/node-daemon/pvcd/VXNetworkInstance.py b/node-daemon/pvcd/VXNetworkInstance.py index 355942cc..007e8c54 100644 --- a/node-daemon/pvcd/VXNetworkInstance.py +++ b/node-daemon/pvcd/VXNetworkInstance.py @@ -487,12 +487,12 @@ add rule inet filter forward ip6 saddr {netaddr6} counter jump {vxlannic}-out '--listen-address={}'.format(self.ip6_gateway), '--auth-peer={}'.format(self.ip6_gateway), '--auth-sec-servers={}'.format(self.ip6_gateway), - '--dhcp-option=option6:dns-server,{}'.format(self.ip6_gateway), - '--dhcp-option=option6:sntp-server,{}'.format(self.ip6_gateway), + '--dhcp-option=option6:dns-server,[{}]'.format(self.ip6_gateway), + '--dhcp-option=option6:sntp-server,[{}]'.format(self.ip6_gateway), + '--enable-ra', ] dhcp_configuration_v6_dualstack = [ '--dhcp-range=net:{nic},::,constructor:{nic},ra-stateless,ra-names'.format(nic=self.bridge_nic), - '--enable-ra', ] dhcp_configuration_v6_only = [ '--dhcp-range=net:{nic},::2,::ffff:ffff:ffff:ffff,constructor:{nic},64,24h'.format(nic=self.bridge_nic),