Fix a dumb error in delay_timeout(). Return value should be ms, not s.

This commit is contained in:
Nicholas J. Kain 2011-06-30 04:12:59 -04:00
parent e77190e2e9
commit 6f2986803f

View File

@ -53,7 +53,7 @@ static int delay_timeout(int numpackets)
char tot[] = { 4, 8, 16, 32, 64 };
if (numpackets < sizeof tot)
to = tot[numpackets];
return to;
return to * 1000;
}
// Triggered after a DHCP lease request packet has been sent and no reply has