Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dhcp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
68
Issues
68
List
Boards
Labels
Service Desk
Milestones
Merge Requests
17
Merge Requests
17
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
dhcp
Commits
e703795d
Commit
e703795d
authored
Oct 07, 1999
by
Ted Lemon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some signed/unsigned pointer incompatibilities for Digital Unix.
parent
b1b7b521
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
common/options.c
common/options.c
+2
-2
common/parse.c
common/parse.c
+2
-2
server/dhcp.c
server/dhcp.c
+2
-2
No files found.
common/options.c
View file @
e703795d
...
...
@@ -22,7 +22,7 @@
#ifndef lint
static
char
copyright
[]
=
"$Id: options.c,v 1.4
6 1999/10/07 06:35:43
mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.
\n
"
;
"$Id: options.c,v 1.4
7 1999/10/07 06:42:50
mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.
\n
"
;
#endif
/* not lint */
#define DHCP_OPTION_DATA
...
...
@@ -247,7 +247,7 @@ int cons_options (inpacket, outpacket, lease, mms, in_options, cfg_options,
struct
data_string
*
prl
;
{
#define PRIORITY_COUNT 300
int
priority_list
[
PRIORITY_COUNT
];
unsigned
priority_list
[
PRIORITY_COUNT
];
int
priority_len
;
unsigned
char
buffer
[
4096
];
/* Really big buffer... */
unsigned
main_buffer_size
;
...
...
common/parse.c
View file @
e703795d
...
...
@@ -22,7 +22,7 @@
#ifndef lint
static
char
copyright
[]
=
"$Id: parse.c,v 1.4
4 1999/10/07 06:35:44
mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.
\n
"
;
"$Id: parse.c,v 1.4
5 1999/10/07 06:42:51
mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.
\n
"
;
#endif
/* not lint */
#include "dhcpd.h"
...
...
@@ -255,7 +255,7 @@ void parse_hardware_param (cfile, hardware)
{
const
char
*
val
;
enum
dhcp_token
token
;
int
hlen
;
unsigned
hlen
;
unsigned
char
*
t
;
token
=
next_token
(
&
val
,
cfile
);
...
...
server/dhcp.c
View file @
e703795d
...
...
@@ -22,7 +22,7 @@
#ifndef lint
static
char
copyright
[]
=
"$Id: dhcp.c,v 1.11
4 1999/10/07 06:36:31
mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.
\n
"
;
"$Id: dhcp.c,v 1.11
5 1999/10/07 06:42:53
mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.
\n
"
;
#endif
/* not lint */
#include "dhcpd.h"
...
...
@@ -2411,7 +2411,7 @@ struct lease *mockup_lease (packet, share, hp)
return
(
struct
lease
*
)
0
;
mock
.
next
=
mock
.
prev
=
(
struct
lease
*
)
0
;
mock
.
host
=
hp
;
(
const
char
*
)
mock
.
uid
=
hp
->
client_identifier
.
data
;
(
const
unsigned
char
*
)
mock
.
uid
=
hp
->
client_identifier
.
data
;
mock
.
uid_len
=
hp
->
client_identifier
.
len
;
mock
.
hardware_addr
=
hp
->
interface
;
mock
.
starts
=
mock
.
timestamp
=
mock
.
ends
=
MIN_TIME
;
...
...
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