2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

Merged IA_XXrelated structures

This commit is contained in:
Francis Dupont
2008-03-17 15:35:37 +00:00
parent bd72740e3c
commit 9322442f8a
8 changed files with 618 additions and 1879 deletions

View File

@@ -655,13 +655,13 @@ main(int argc, char **argv) {
#ifdef DHCPv6
/* set up DHCPv6 hashes */
if (!ia_na_new_hash(&ia_na_active, DEFAULT_HASH_SIZE, MDL)) {
if (!ia_new_hash(&ia_na_active, DEFAULT_HASH_SIZE, MDL)) {
log_fatal("Out of memory creating hash for active IA_NA.");
}
if (!ia_na_new_hash(&ia_ta_active, DEFAULT_HASH_SIZE, MDL)) {
if (!ia_new_hash(&ia_ta_active, DEFAULT_HASH_SIZE, MDL)) {
log_fatal("Out of memory creating hash for active IA_TA.");
}
if (!ia_pd_new_hash(&ia_pd_active, DEFAULT_HASH_SIZE, MDL)) {
if (!ia_new_hash(&ia_pd_active, DEFAULT_HASH_SIZE, MDL)) {
log_fatal("Out of memory creating hash for active IA_PD.");
}
#endif /* DHCPv6 */