Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
20b312c4
Commit
20b312c4
authored
Mar 06, 2000
by
Ted Lemon
Browse files
Update call to new_hash.
parent
287d577c
Changes
2
Hide whitespace changes
Inline
Side-by-side
server/class.c
View file @
20b312c4
...
...
@@ -22,7 +22,7 @@
#ifndef lint
static
char
copyright
[]
=
"$Id: class.c,v 1.1
6
2000/0
1/25 01:36:29
mellon Exp $ Copyright (c) 1998 The Internet Software Consortium. All rights reserved.
\n
"
;
"$Id: class.c,v 1.1
7
2000/0
3/06 23:27:14
mellon Exp $ Copyright (c) 1998 The Internet Software Consortium. All rights reserved.
\n
"
;
#endif
/* not lint */
#include "dhcpd.h"
...
...
@@ -145,7 +145,7 @@ int check_collection (packet, lease, collection)
MDL
);
data_string_forget
(
&
data
,
MDL
);
if
(
!
class
->
hash
)
class
->
hash
=
new_hash
();
class
->
hash
=
new_hash
(
0
,
0
);
add_hash
(
class
->
hash
,
nc
->
hash_string
.
data
,
nc
->
hash_string
.
len
,
...
...
server/confpars.c
View file @
20b312c4
...
...
@@ -22,7 +22,7 @@
#ifndef lint
static
char
copyright
[]
=
"$Id: confpars.c,v 1.10
2
2000/0
2
/0
5 17:39:24
mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.
\n
"
;
"$Id: confpars.c,v 1.10
3
2000/0
3
/0
6 23:28:27
mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.
\n
"
;
#endif
/* not lint */
#include "dhcpd.h"
...
...
@@ -1380,7 +1380,7 @@ struct class *parse_class_declaration (cfile, group, type)
}
data_string_copy
(
&
class
->
hash_string
,
&
data
,
MDL
);
if
(
!
pc
->
hash
)
pc
->
hash
=
new_hash
();
pc
->
hash
=
new_hash
(
0
,
0
);
add_hash
(
pc
->
hash
,
class
->
hash_string
.
data
,
class
->
hash_string
.
len
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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