Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
dhcp
Commits
7cb6a943
Commit
7cb6a943
authored
Mar 06, 2000
by
Ted Lemon
Browse files
Update calls to new_hash.
parent
c1cc0a71
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/tables.c
View file @
7cb6a943
...
...
@@ -22,7 +22,7 @@
#ifndef lint
static
char
copyright
[]
=
"$Id: tables.c,v 1.3
6
2000/0
2
/0
2 17:10:39
mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.
\n
"
;
"$Id: tables.c,v 1.3
7
2000/0
3
/0
6 23:20:45
mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.
\n
"
;
#endif
/* not lint */
#include
"dhcpd.h"
...
...
@@ -862,7 +862,7 @@ void initialize_common_option_spaces()
dhcp_universe
.
store_length
=
putUChar
;
dhcp_universe
.
index
=
universe_count
++
;
universes
[
dhcp_universe
.
index
]
=
&
dhcp_universe
;
dhcp_universe
.
hash
=
new_hash
();
dhcp_universe
.
hash
=
new_hash
(
0
,
0
);
if
(
!
dhcp_universe
.
hash
)
log_fatal
(
"Can't allocate dhcp option hash table."
);
for
(
i
=
0
;
i
<
256
;
i
++
)
{
...
...
@@ -888,7 +888,7 @@ void initialize_common_option_spaces()
nwip_universe
.
store_length
=
putUChar
;
nwip_universe
.
index
=
universe_count
++
;
universes
[
nwip_universe
.
index
]
=
&
nwip_universe
;
nwip_universe
.
hash
=
new_hash
();
nwip_universe
.
hash
=
new_hash
(
0
,
0
);
if
(
!
nwip_universe
.
hash
)
log_fatal
(
"Can't allocate dhcp option hash table."
);
for
(
i
=
0
;
i
<
256
;
i
++
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment