Commit Graph

225 Commits

Author SHA1 Message Date
christos
44f22a6994 make things compile again with -DSMALL 2001-06-23 00:10:06 +00:00
drochner
65ae86a522 more obsolete files 2001-06-19 14:55:30 +00:00
drochner
e47db61069 some more files which disappeared in the distribution 2001-06-19 14:45:46 +00:00
drochner
9eb0a9bd7a add missing comma 2001-06-19 14:34:08 +00:00
drochner
e3ef27af9b iron out some unnecessary differences between the distribution and the
NetBSD version
2001-06-19 14:22:45 +00:00
drochner
ad33c4e9c3 these are not in the original distribution anymore 2001-06-19 13:58:30 +00:00
drochner
d94b2b3963 fix some obviously botched error returns 2001-06-19 13:54:58 +00:00
christos
a2458a3f05 use better/quicker shell syntax 2001-06-18 19:43:55 +00:00
drochner
8d1282dd17 update for moved toisc.c 2001-06-18 19:16:10 +00:00
drochner
ef869f8376 merge 3.0rc8 2001-06-18 19:01:50 +00:00
drochner
5233105195 ISC DHCP 3.0rc8 2001-06-18 18:13:13 +00:00
wiz
0a600be867 receive, not recieve 2001-06-12 15:17:10 +00:00
wiz
40ac848024 Fix various misspellings of compatible/compatibility. 2001-06-11 01:50:48 +00:00
christos
4fce6523d7 make the -DSMALL option work again. 2001-05-26 00:37:45 +00:00
sommerfeld
390fe67281 Add .WAIT barrier for parallel make 2001-05-08 02:03:18 +00:00
kleink
2c30ea4c58 Add missing quotes to test -z argument; from Tim Preston in PR bin/12687. 2001-04-17 23:25:38 +00:00
christos
8689c0d412 make the remove route code look exactly the same like the add code. 2001-04-11 21:53:26 +00:00
christos
a775b3feee general cleanup:
1. Use standard shell indentation
2. Use [ expr -a expr ] instead of [ expr ] && [ expr ] (same with -o and ||)
3. Cleanup 0 length string tests
4. Factor out the routing code
5. Use a large switch statement based on $reason instead of the endless
   if elif's
6. Use variables for filenames used
7. Test in all cases for the existance of domainname and hostname
8. No need for individual command redirections in structured statements.

Thanks to kleink for testing and fixing my typos!
2001-04-11 21:22:53 +00:00
mellon
54c97cebbb Take out the reference to the dhcp-contrib man page. 2001-04-09 18:11:33 +00:00
mellon
69ee0ea676 Don't use BPF_WORDALIGN in the midst of unpacking the packet. 2001-04-08 20:48:52 +00:00
mellon
b12f23920f Oops, dhclient-script is now expected to be in /sbin. 2001-04-08 19:57:12 +00:00
mellon
64ce71d1cd If SMALL is defined, don't support the OMAPI protocol. 2001-04-06 19:01:06 +00:00
mellon
9cc24a09b7 Merge 3.0b2pl24 2001-04-06 17:08:51 +00:00
mellon
f9a2f32ef8 ISC DHCP 3.0b2pl24 2001-04-06 17:00:09 +00:00
simonb
20f99292d1 Disable tracing in the distrib client (controlled by #ifdef SMALL in
includes/site.h).
2001-04-06 06:39:54 +00:00
mellon
0f97eb2a40 Undocument SIGHUP behaviour, which is no longer present. 2001-04-05 21:38:05 +00:00
wiz
01140dad65 dhclient.conf lives in 5, not 8. Whitespace fixes. 2001-04-05 11:47:17 +00:00
mellon
f22201f8eb Oops, minires->dst in DSTOBJDIR 2001-04-03 01:00:03 +00:00
mellon
a7a21c452b Fix various makefile glitches 2001-04-03 00:49:15 +00:00
mellon
48c3fd90d7 No longer pertinent 2001-04-03 00:01:32 +00:00
mellon
fcb927dc03 Make a BSD-style Makefile. 2001-04-02 23:59:16 +00:00
mellon
4400cf656e No longer pertinent 2001-04-02 23:55:16 +00:00
mellon
b6b233a9ba Merge of 3.0b2pl23 2001-04-02 23:45:52 +00:00
mellon
7ac99333ec ISC DHCP 3.0b2pl23 2001-04-02 21:56:50 +00:00
lukem
443a19e035 convert to using .WAIT 2001-01-09 03:13:39 +00:00
enami
270db080e9 Use PRINTOBJDIR. 2001-01-07 08:00:54 +00:00
mycroft
04adf420b1 Don't terminate the loop after getting a short packet, either. 2000-11-27 17:36:19 +00:00
mycroft
a23cc61626 For BPF, we must loop on receive_packet(). BPF may return multiple packets at
once, and we obviously won't get a select() hit for each one in that case.
2000-11-27 17:33:02 +00:00
mycroft
33515cb532 Make sure to BPF_WORDALIGN() the buffer pointer for each packet, as BPF does in
the kernel.  Otherwise the pointers get out of sync and dhcpd goes nuts.
2000-11-27 17:08:16 +00:00
tron
68fa36f81f Avoid segmentation fault if "dns_zone_lookup()" is called with an empty
string as name. Problem noted by Simon Burge.
2000-11-07 13:21:36 +00:00
taca
6a3b366a8c Patch from the ISC DHCP CVS repository, fix dhclient problem,
"Re: dhclient still taking up 95% of CPU" in current-users:

: Fix for bug #416: If a server hands dhclient an insanely large
: lease time, select() can get passed a too-large timeout, causing it
: to return EINVAL.  This fix restricts the select() timeout to one day.
2000-11-02 03:14:21 +00:00
taca
e3e05b89d4 Patch from the ISC DHCP CVS repository:
: Tweak omapi_protocol_connect() so that authenticators are sent in the
: proper order.
2000-11-02 03:14:02 +00:00
tron
b56cc4466d Patch from Takahiro Kambe to fix crashes if dynamic DNS updates
are used. This fixes PR bin/10665 by Mason Loring Bliss.
2000-10-29 22:55:57 +00:00
taca
5dea32f506 Make it compile again. 2000-10-17 16:12:20 +00:00
taca
0cb6a7cf94 Merge 3.0b2pl9 with head. 2000-10-17 16:10:38 +00:00
taca
70a42dc992 DHCP 3.0 Beta 2 Patchlevel 9 2000-10-17 15:07:41 +00:00
taca
5f70e573c1 - replace DBDIR, ETCDIR and RUNDIR with /var/db, /etc, /var/run.
Original dhcp package, those strings are replaced with real pathname
  when creating catman files.  Since we install man files, those strings
  should be replaced with real pathname.
2000-10-14 05:14:01 +00:00
is
d8302e2d73 More format string cleanups by sommerfeld. 2000-10-11 20:23:46 +00:00
mellon
a894c0a5ef Goto label was in slightly wrong place. 2000-09-29 00:30:56 +00:00
mellon
4649cc23c5 Update some instances of file movement in the ISC release. 2000-09-05 00:50:07 +00:00