From ceb7b6b5cdaaad53a923fa751471f9ba0953402b Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Tue, 9 Oct 2018 00:24:59 -0400 Subject: [PATCH] Correct dhcp_reservations default --- router-daemon/pvcrd/VXNetworkInstance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router-daemon/pvcrd/VXNetworkInstance.py b/router-daemon/pvcrd/VXNetworkInstance.py index d29a8b85..c0d99af9 100644 --- a/router-daemon/pvcrd/VXNetworkInstance.py +++ b/router-daemon/pvcrd/VXNetworkInstance.py @@ -55,7 +55,7 @@ class VXNetworkInstance(): self.dhcp_server_daemon = None self.dnsmasq_hostsdir = '{}/{}'.format(config['dnsmasq_hosts_dir'], self.vni) - self.dhcp_reservations = None + self.dhcp_reservations = [] # Zookeper handlers for changed states @self.zk_conn.DataWatch('/networks/{}'.format(self.vni))