X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fanalyze.c;h=585b2a8acb0cdccc95b7aba73b77579bf74ec616;hb=10488b0a040d2702273a7922c8b6bcebfb3cd85f;hp=c46d5955570b6435e1ba11b6db0364ba9f095c08;hpb=ee35f8bb1f94b177675ab84b963a0fe61cd201eb;p=debian%2Fdhcpd-pools.git diff --git a/src/analyze.c b/src/analyze.c index c46d595..585b2a8 100644 --- a/src/analyze.c +++ b/src/analyze.c @@ -129,7 +129,8 @@ int do_counting(void) range_p->shared_net->available += block_size; } - /* Reverse so that not even a one IP will be missed. */ + /* Go backwards one step so that not even a one IP will be + * missed. This is possibly always unnecessary. */ if (i) { i--; } @@ -140,10 +141,9 @@ int do_counting(void) range_p++; } - /* During count of other shared networks default network and - * all networks got mixed to gether semantically. This fixes - * the problem, but is not elegant. TODO: fix semantics of all - * and default share_network. */ + /* FIXME: During count of other shared networks default network and + * all networks got mixed to gether semantically. This fixes the + * problem, but is not elegant. */ shared_networks->available = 0; shared_networks->used = 0; shared_networks->touched = 0;