mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-03 07:45:20 +00:00
Fix variable declaration omission
This commit is contained in:
@@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
static char copyright[] =
|
||||||
"$Id: dhcp.c,v 1.48 1997/06/08 03:55:58 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
|
"$Id: dhcp.c,v 1.49 1997/06/08 03:58:47 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
@@ -296,6 +296,7 @@ void dhcprelease (packet)
|
|||||||
struct packet *packet;
|
struct packet *packet;
|
||||||
{
|
{
|
||||||
struct lease *lease;
|
struct lease *lease;
|
||||||
|
struct iaddr cip;
|
||||||
|
|
||||||
/* DHCPRELEASEmust specify address. */
|
/* DHCPRELEASEmust specify address. */
|
||||||
if (!packet -> options [DHO_DHCP_REQUESTED_ADDRESS].len) {
|
if (!packet -> options [DHO_DHCP_REQUESTED_ADDRESS].len) {
|
||||||
|
Reference in New Issue
Block a user