From 47de4a8b6c75422d9c5f7f0ab79b84139651b5d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20Solbj=C3=B8rg?= Date: Sun, 2 Apr 2023 13:31:40 +0200 Subject: fix(planning): Lower number of expected switches per distro --- planning/planning.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'planning/planning.cpp') diff --git a/planning/planning.cpp b/planning/planning.cpp index 7cf1cf3..faa614c 100644 --- a/planning/planning.cpp +++ b/planning/planning.cpp @@ -694,7 +694,7 @@ int Planner::do_work(int distro_placements[NUM_DISTRO]) num_ports_used.clear(); vector distro_mgmt_ip; for (unsigned i = 0; i < NUM_DISTRO + 1; i++) { - distro_mgmt_ip.push_back(htonl(ntohl(inet_addr(FIRST_MGMT_ADDRESS))+ 1 + i * 64)); + distro_mgmt_ip.push_back(htonl(ntohl(inet_addr(FIRST_MGMT_ADDRESS))+ 1 + i * 32)); } for (unsigned i = 0; i < switches.size(); ++i) { const auto distro_it = switches_to_distros.find(i); -- cgit v1.2.3