Skip to content

Commit

Permalink
🐛 fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
YousefEZ committed Apr 6, 2024
1 parent d7d71d8 commit 9c30326
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/combined-frr-no-udp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ int main(int argc, char* argv[])
NetDeviceContainer devices_2_3 = p2p_congested_link.Install(
nodes.Get(offset + 1), nodes.Get(offset + 2));
NetDeviceContainer devices_2_4 =
p2p_alternate.Install(nodes.Get(offest + 1), nodes.Get(offset + 3));
p2p_alternate.Install(nodes.Get(offset + 1), nodes.Get(offset + 3));
NetDeviceContainer devices_4_3 =
p2p_alternate.Install(nodes.Get(offset + 3), nodes.Get(offset + 2));
NetDeviceContainer devices_3_5 =
Expand All @@ -252,9 +252,9 @@ int main(int argc, char* argv[])
Ipv4InterfaceContainer interfaces_0_2 = address.Assign(devices_0_2);
address.NewNetwork();

for (int i = 0; i < number_of_tcp_senders; i++) {
address.Assign(tcp_senders[i]);
address.NewNetwork();
for (auto& tcp_sender : tcp_senders) {
address.Assign(tcp_sender);
address.NewNetwork();
}

Ipv4InterfaceContainer interfaces_2_3 = address.Assign(devices_2_3);
Expand Down

0 comments on commit 9c30326

Please sign in to comment.