2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 14:25:41 +00:00

Cleanup IA_NA dependencies

This commit is contained in:
Francis Dupont
2008-01-02 23:47:22 +00:00
parent 96b620e5a2
commit 1d9774ab57
12 changed files with 3152 additions and 225 deletions

View File

@@ -560,9 +560,15 @@ main(int argc, char **argv) {
#endif
#ifdef DHCPv6
/* set up DHCPv6 hash */
if (!ia_na_new_hash(&ia_active, DEFAULT_HASH_SIZE, MDL)) {
log_fatal("Out of memory creating hash for active IA.");
/* set up DHCPv6 hashes */
if (!ia_na_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)) {
log_fatal("Out of memory creating hash for active IA_TA.");
}
if (!ia_pd_new_hash(&ia_pd_active, DEFAULT_HASH_SIZE, MDL)) {
log_fatal("Out of memory creating hash for active IA_PD.");
}
#endif /* DHCPv6 */