Skip to content

Commit

Permalink
削除忘れ
Browse files Browse the repository at this point in the history
  • Loading branch information
melpon committed Oct 3, 2024
1 parent 4e21c9a commit 2e20eb4
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions src/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -518,34 +518,6 @@ std::vector<std::vector<std::string>> Util::NodeToArgs(const YAML::Node& inst) {
}
}

const YAML::Node& fake_network = inst["fake-network"];
if (fake_network) {
DEF_INTEGER(fake_network, "fake-network-", "send-queue-length-packets");
DEF_INTEGER(fake_network, "fake-network-", "send-queue-delay-ms");
DEF_INTEGER(fake_network, "fake-network-",
"send-delay-standard-deviation-ms");
DEF_INTEGER(fake_network, "fake-network-", "send-link-capacity-kbps");
DEF_INTEGER(fake_network, "fake-network-", "send-loss-percent");
DEF_BOOLEAN(fake_network, "fake-network-", "send-allow-reordering");
DEF_INTEGER(fake_network, "fake-network-", "send-avg-burst-loss-length");
DEF_INTEGER(fake_network, "fake-network-", "send-packet-overhead");
DEF_BOOLEAN(fake_network, "fake-network-",
"send-codel-active-queue-management");
DEF_INTEGER(fake_network, "fake-network-",
"receive-queue-length-packets");
DEF_INTEGER(fake_network, "fake-network-", "receive-queue-delay-ms");
DEF_INTEGER(fake_network, "fake-network-",
"receive-delay-standard-deviation-ms");
DEF_INTEGER(fake_network, "fake-network-", "receive-link-capacity-kbps");
DEF_INTEGER(fake_network, "fake-network-", "receive-loss-percent");
DEF_BOOLEAN(fake_network, "fake-network-", "receive-allow-reordering");
DEF_INTEGER(fake_network, "fake-network-",
"receive-avg-burst-loss-length");
DEF_INTEGER(fake_network, "fake-network-", "receive-packet-overhead");
DEF_BOOLEAN(fake_network, "fake-network-",
"receive-codel-active-queue-management");
}

if (has_error) {
throw std::exception();
}
Expand Down

0 comments on commit 2e20eb4

Please sign in to comment.