diff --git a/src/network/network_nic.cc b/src/network/network_nic.cc index f587d41..61813e6 100644 --- a/src/network/network_nic.cc +++ b/src/network/network_nic.cc @@ -525,22 +525,22 @@ void NetworkNic::schedule_port_if_needed(PortId port) noexcept { bool NetworkNic::pick_next_qclass(const PortQueues& pq, QClass& out_cls) const noexcept { - if (!pq.control.empty() && pq.b_control > Bytes(0)) { + if (!pq.control.empty() && pq.b_control > Bytes(0)) { out_cls = QClass::CONTROL; return true; } - if (!pq.retrans.empty() && pq.b_retrans > Bytes(0)) { + if (!pq.retrans.empty() && pq.b_retrans > Bytes(0)) { out_cls = QClass::RETRANS; return true; } - if (!pq.mice.empty() && pq.b_mice > Bytes(0)) { + if (!pq.mice.empty() && pq.b_mice > Bytes(0)) { out_cls = QClass::MICE; return true; } - if (!pq.elephant.empty() && pq.b_elephant > Bytes(0)) { + if (!pq.elephant.empty() && pq.b_elephant > Bytes(0)) { out_cls = QClass::ELEPHANT; return true; }