Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/networking/udhcp/arpping.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/networking/udhcp/arpping.c
r2725 r3232 119 119 } 120 120 } 121 timeout_ms -= (unsigned)monotonic_ms() - prevTime; 122 } while (timeout_ms > 0); 121 timeout_ms -= (unsigned)monotonic_ms() - prevTime + 1; 122 123 /* We used to check "timeout_ms > 0", but 124 * this is more under/overflow-resistant 125 * (people did see overflows here when system time jumps): 126 */ 127 } while ((unsigned)timeout_ms <= 2000); 123 128 124 129 ret:
Note:
See TracChangeset
for help on using the changeset viewer.