diff options
-rw-r--r-- | core/Lossless_UDP.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Lossless_UDP.c b/core/Lossless_UDP.c index 710bcc4c..c4c464b6 100644 --- a/core/Lossless_UDP.c +++ b/core/Lossless_UDP.c | |||
@@ -803,6 +803,10 @@ void adjustRates() | |||
803 | uint64_t temp_time = current_time(); | 803 | uint64_t temp_time = current_time(); |
804 | for(i = 0; i < MAX_CONNECTIONS; ++i) | 804 | for(i = 0; i < MAX_CONNECTIONS; ++i) |
805 | { | 805 | { |
806 | if(connections[i].status == 1 || connections[i].status == 2) | ||
807 | { | ||
808 | connections[i].SYNC_rate = MAX_SYNC_RATE; | ||
809 | } | ||
806 | if(connections[i].status == 3) | 810 | if(connections[i].status == 3) |
807 | { | 811 | { |
808 | if(sendqueue(i) != 0) | 812 | if(sendqueue(i) != 0) |