From: Ted Lemon Date: Mon, 7 Feb 2000 05:15:44 +0000 (+0000) Subject: Add extra arg to ack_lease. X-Git-Tag: V3-BETA-2-PATCH-1~318 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c8afe11d0c59252d3a6a04d8ce6377365cdd542;p=thirdparty%2Fdhcp.git Add extra arg to ack_lease. --- diff --git a/server/bootp.c b/server/bootp.c index 8d8da7803..24e095ea8 100644 --- a/server/bootp.c +++ b/server/bootp.c @@ -22,7 +22,7 @@ #ifndef lint static char copyright[] = -"$Id: bootp.c,v 1.59 2000/01/25 01:32:41 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; +"$Id: bootp.c,v 1.60 2000/02/07 05:15:44 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -97,7 +97,7 @@ void bootp (packet) /* If a lease has already been assigned to this client, use it. */ if (lease) { - ack_lease (packet, lease, 0, 0, msgbuf); + ack_lease (packet, lease, 0, 0, msgbuf, 0); return; } @@ -106,7 +106,7 @@ void bootp (packet) packet -> shared_network -> pools, 0); if (lease) { lease -> host = host; - ack_lease (packet, lease, 0, 0, msgbuf); + ack_lease (packet, lease, 0, 0, msgbuf, 0); return; } log_info ("%s: no available leases", msgbuf);