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:
@@ -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 */
|
||||
|
||||
|
Reference in New Issue
Block a user