diff options
author | Håkon Solbjørg <hakon@solbj.org> | 2023-04-02 13:31:40 +0200 |
---|---|---|
committer | Håkon Solbjørg <hakon@solbj.org> | 2023-04-02 13:32:06 +0200 |
commit | 47de4a8b6c75422d9c5f7f0ab79b84139651b5d8 (patch) | |
tree | 75aa909fbd3e14a0f17d13b291591ed3f99e766c /planning/planning.cpp | |
parent | d701d553476fd2a297266b983f477db9068654d0 (diff) |
fix(planning): Lower number of expected switches per distro
Diffstat (limited to 'planning/planning.cpp')
-rw-r--r-- | planning/planning.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<in_addr_t> 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); |