parent
5ccc066c98
commit
a5edbe38a0
@ -2258,6 +2258,9 @@ refuse_renegotiation:
|
|||||||
static guint32
|
static guint32
|
||||||
adjust_rate (guint64 rate)
|
adjust_rate (guint64 rate)
|
||||||
{
|
{
|
||||||
|
if (rate == 0)
|
||||||
|
return 10000;
|
||||||
|
|
||||||
while (rate >= 10000)
|
while (rate >= 10000)
|
||||||
rate /= 10;
|
rate /= 10;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user