diff options
author | Francis Dupont <fdupont@isc.org> | 2008-01-02 23:47:22 +0000 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2008-01-02 23:47:22 +0000 |
commit | 1d9774ab570d77b7f52432c36e64cc7e59c50a59 (patch) | |
tree | 125723b4dca7b83c9e1dbbd9d5a34b1f6a253c38 /server/dhcpd.c | |
parent | 96b620e5a2752080dfab31d11fea860971da75f2 (diff) | |
download | isc-dhcp-1d9774ab570d77b7f52432c36e64cc7e59c50a59.tar.gz |
Cleanup IA_NA dependencies
Diffstat (limited to 'server/dhcpd.c')
-rw-r--r-- | server/dhcpd.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/server/dhcpd.c b/server/dhcpd.c index 904d50d6..41e3813a 100644 --- a/server/dhcpd.c +++ b/server/dhcpd.c @@ -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 */ |