mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-02 23:35:23 +00:00
Restore code that was removed for debugging and accidentally committed.
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
static char copyright[] =
|
||||||
"$Id: dhcp.c,v 1.170 2000/11/28 23:27:17 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
|
"$Id: dhcp.c,v 1.171 2000/11/30 14:04:06 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
@@ -500,8 +500,8 @@ void dhcprequest (packet, ms_nulltp, ip_lease)
|
|||||||
RENEWING client, so we can punt on this issue. */
|
RENEWING client, so we can punt on this issue. */
|
||||||
|
|
||||||
if (!packet -> shared_network ||
|
if (!packet -> shared_network ||
|
||||||
(packet -> raw -> ciaddr.s_addr /* &&
|
(packet -> raw -> ciaddr.s_addr &&
|
||||||
packet -> raw -> giaddr.s_addr */) ||
|
packet -> raw -> giaddr.s_addr) ||
|
||||||
(oc && !packet -> raw -> ciaddr.s_addr)) {
|
(oc && !packet -> raw -> ciaddr.s_addr)) {
|
||||||
|
|
||||||
/* If we don't know where it came from but we do know
|
/* If we don't know where it came from but we do know
|
||||||
|
Reference in New Issue
Block a user