Fix a dumb error in delay_timeout(). Return value should be ms, not s.
This commit is contained in:
parent
e77190e2e9
commit
6f2986803f
@ -53,7 +53,7 @@ static int delay_timeout(int numpackets)
|
|||||||
char tot[] = { 4, 8, 16, 32, 64 };
|
char tot[] = { 4, 8, 16, 32, 64 };
|
||||||
if (numpackets < sizeof tot)
|
if (numpackets < sizeof tot)
|
||||||
to = tot[numpackets];
|
to = tot[numpackets];
|
||||||
return to;
|
return to * 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Triggered after a DHCP lease request packet has been sent and no reply has
|
// Triggered after a DHCP lease request packet has been sent and no reply has
|
||||||
|
Loading…
Reference in New Issue
Block a user