Removed warning associated with receiving extended packets

This commit is contained in:
Jędrzej Stuczyński
2022-10-10 13:09:35 +01:00
parent 3a6932d47c
commit 0539fc20db
@@ -59,11 +59,12 @@ impl PacketRouter {
} else if received_packet.len()
== PacketSize::RegularPacket.plaintext_size() - ack_overhead
{
trace!("routing regular packet");
received_messages.push(received_packet);
} else if received_packet.len()
== PacketSize::ExtendedPacket.plaintext_size() - ack_overhead
{
warn!("received extended packet? Did not expect this...");
trace!("routing extended packet");
received_messages.push(received_packet);
} else {
// this can happen if other clients are not padding their messages