X-Git-Url: http://git.asbjorn.biz/?p=debian%2Fdhcpd-pools.git;a=blobdiff_plain;f=src%2Fdhcpd-pools.c;fp=src%2Fdhcpd-pools.c;h=db8495b13200f8b68061bddcaf30245751b3867d;hp=00b7efcdef58e0a8714bc101e479845038a69bc8;hb=b492802dfa7bf928bbafe74194ca4f154c70f743;hpb=f6880ed5f48e1591007246760a64cfc33d5f1eb4 diff --git a/src/dhcpd-pools.c b/src/dhcpd-pools.c index 00b7efc..db8495b 100644 --- a/src/dhcpd-pools.c +++ b/src/dhcpd-pools.c @@ -213,6 +213,7 @@ int main(int argc, char **argv) /* Global allocations, counter resets etc */ int prepare_memory() { + RANGES = 64; num_ranges = num_shared_networks = 0; shared_networks = safe_malloc(sizeof(struct shared_network_t) * SHARED_NETWORKS);