diff options
author | Denys Vlasenko | 2009-06-16 12:05:21 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-06-16 12:05:21 +0200 |
commit | ed8982bfc0e9895fe707a5f6152cf184e06f2052 (patch) | |
tree | ff08bef8b550e5503cf54eb8f7fdd7e5f37875f5 /networking/udhcp/leases.c | |
parent | 26918dd28ef6f2c6380ed23b384ddc8e98a8ad81 (diff) | |
download | busybox-ed8982bfc0e9895fe707a5f6152cf184e06f2052.zip busybox-ed8982bfc0e9895fe707a5f6152cf184e06f2052.tar.gz |
udhcp: add a few TODOs
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/leases.c')
-rw-r--r-- | networking/udhcp/leases.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/leases.c b/networking/udhcp/leases.c index 291ae80..06bc086 100644 --- a/networking/udhcp/leases.c +++ b/networking/udhcp/leases.c @@ -22,7 +22,7 @@ static struct dhcpOfferedAddr *oldest_expired_lease(void) for (i = 0; i < server_config.max_leases; i++) { if (leases[i].expires < oldest_time) { oldest_time = leases[i].expires; - oldest_lease = &(leases[i]); + oldest_lease = &leases[i]; } } return oldest_lease; @@ -142,7 +142,7 @@ static int nobody_responds_to_arp(uint32_t addr, const uint8_t *safe_mac) } -/* Find a new usable (we think) address. */ +/* Find a new usable (we think) address */ uint32_t FAST_FUNC find_free_or_expired_address(const uint8_t *chaddr) { uint32_t addr; |