Re: Problem with CMU Bootpd-DD2.4.3
Daran.Rowlands@reef.bucknell.edu Fri, 24 May 1996 09:46 UTC
Received: from ietf.cnri.reston.va.us by IETF.CNRI.Reston.VA.US id aa13521;
24 May 96 5:46 EDT
Received: from CNRI.Reston.VA.US by IETF.CNRI.Reston.VA.US id aa13517;
24 May 96 5:46 EDT
Received: from reef.bucknell.edu by CNRI.Reston.VA.US id aa04472;
24 May 96 5:46 EDT
Received: from localhost by reef.bucknell.edu with SMTP
(5.65/IDA-1.2.8) id AA02360; Fri, 24 May 1996 05:42:18 -0400
Date: Fri, 24 May 1996 05:42:18 -0400
Message-Id: <9605240915.AA8443@NYC-NTGW-N02.ny.jpmorgan.com>
Errors-To: droms@bucknell.edu
Reply-To: dhcp-v4@bucknell.edu
Originator: dhcp-v4@bucknell.edu
X-Orig-Sender: dhcp-v4@bucknell.edu
Precedence: bulk
Sender: ietf-archive-request@IETF.CNRI.Reston.VA.US
From: Daran.Rowlands@reef.bucknell.edu
To: Multiple recipients of list <dhcp-v4@bucknell.edu>
Subject: Re: Problem with CMU Bootpd-DD2.4.3
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
X-Comment: Discussion of DHCP for IPv4
Mime-Version: 1.0
David,
Thanks for the code fix, I'll give it a try...
I too have made a change that I have not forwarded... Issuing a "kill -USR1" to
the pid using the original code (if compiled with DEBUG) produces a dump of the
internal database being used by the server but it does NOT include the default
lease times assigned to DHCP clients. The following context diff for the
bootpd.c file adds this functionality...
Regards,
Daran.
*** dumptab.c.original Tue Apr 30 11:00:25 1996
--- dumptab.c Thu May 23 12:23:59 1996
***************
*** 290,295 ****
--- 290,302 ----
list_ipaddresses(fp, hp->nis_server);
fprintf(fp, ":");
}
+ #ifdef DHCP
+ if (hp->flags.dhcp_lease) {
+ fprintf(fp, "\\\n\t:dl=%d:",
+ hp->dhcp_lease);
+ }
+ #endif /* DHCP */
+
/*
* XXX - Add new tags here (or above,
* so they print in alphabetical order).
- Problem with CMU Bootpd-DD2.4.3 Daran.Rowlands
- Re: Problem with CMU Bootpd-DD2.4.3 David Crowe-Jr.
- Re: Problem with CMU Bootpd-DD2.4.3 Daran.Rowlands