X-Git-Url: http://git.asbjorn.biz/?p=debian%2Fdhcpd-pools.git;a=blobdiff_plain;f=src%2Fanalyze.c;fp=src%2Fanalyze.c;h=585b2a8acb0cdccc95b7aba73b77579bf74ec616;hp=c46d5955570b6435e1ba11b6db0364ba9f095c08;hb=849c8f5e73d671c7f9e3f74f0652a0876d7a2787;hpb=775157b1a5ae108e1828a6ada231fc4d4d56e01f 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;