mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-02-21 17:56:47 +00:00
Don't send duplicate payloads over unicast
This commit is contained in:
parent
95843e1f20
commit
bb973e764e
@ -1186,7 +1186,8 @@ overlay_stuff_packet(struct outgoing_packet *packet, overlay_txqueue *queue, tim
|
||||
}
|
||||
}else{
|
||||
frame->send_copies --;
|
||||
if (frame->send_copies>0)
|
||||
// ignore resend logic for unicast packets, where wifi gives better resilience
|
||||
if (frame->send_copies>0 && !packet->unicast)
|
||||
keep_payload=1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user