2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-09-02 15:25:48 +00:00

Initialize free host pointer

This commit is contained in:
Ted Lemon
1996-05-22 10:14:42 +00:00
parent 0754f49000
commit e29c53f6f0
2 changed files with 2 additions and 2 deletions

2
dhcp.c
View File

@@ -754,7 +754,7 @@ struct lease *find_lease (packet)
struct lease *uid_lease, *ip_lease, *hw_lease; struct lease *uid_lease, *ip_lease, *hw_lease;
struct lease *lease = (struct lease *)0; struct lease *lease = (struct lease *)0;
struct iaddr cip; struct iaddr cip;
struct host_decl *hp, *host; struct host_decl *hp, *host = (struct host_decl *)0;
struct lease *fixed_lease; struct lease *fixed_lease;
/* Try to find a host or lease that's been assigned to the /* Try to find a host or lease that's been assigned to the

View File

@@ -754,7 +754,7 @@ struct lease *find_lease (packet)
struct lease *uid_lease, *ip_lease, *hw_lease; struct lease *uid_lease, *ip_lease, *hw_lease;
struct lease *lease = (struct lease *)0; struct lease *lease = (struct lease *)0;
struct iaddr cip; struct iaddr cip;
struct host_decl *hp, *host; struct host_decl *hp, *host = (struct host_decl *)0;
struct lease *fixed_lease; struct lease *fixed_lease;
/* Try to find a host or lease that's been assigned to the /* Try to find a host or lease that's been assigned to the