Commit Graph

59 Commits

Author SHA1 Message Date
agc
865595bdf3 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22253, verified by myself.
2003-08-07 09:20:39 +00:00
abs
7aabc9df8a Skip !IFF_BROADCAST interfaces (such as strip). After discussion
with Ted Lemon leave in checks for IFF_LOOPBACK and IFF_POINTTOPOINT
in case an OS incorrectly marks them with IFF_BROADCAST.
Patch submitted back to dhcp-server@isc.org
2003-05-16 15:16:41 +00:00
drochner
8aee2aa821 Get rid of an extremely annoying message logged with "error"
priority:
"<src address>: network <whatever>: no free leases"
on each "foreign" request if I'm just not serving for
unknown clients.
Replace it which a less misleading message at "info" priority.
2003-04-11 17:11:11 +00:00
perry
63b7f42d33 occurrance->occurrence
Igor Sobrado, PR misc/19909
Will feed back to Ted Lemon
2003-03-31 17:32:28 +00:00
perry
d2e86b176e Some spelling changes.
Will feed back to Ted Lemon
2003-03-31 17:31:19 +00:00
perry
fbf638659e Spelling errors, some from Igor Sobrado, PR misc/19909
This needs to be fed back to Ted Lemon
2003-03-31 17:27:57 +00:00
wiz
a29072f49a 3Com, not 3com. From jmc@openbsd. 2003-03-31 11:36:22 +00:00
wiz
0385ba9e85 Fix section in Xref. 2003-03-17 07:30:38 +00:00
wiz
644690013e Replace some man macros with mdoc macros, and clean up a bit. 2003-03-17 07:28:59 +00:00
wiz
76c4d78af3 eliminating, not elimininating. From Igor Sobrado in PR 20723. 2003-03-15 22:38:46 +00:00
drochner
b6ae80da0f merge dhcp-3.0.1rc11 2003-02-18 17:08:38 +00:00
drochner
49c6e76122 import of ISC dhcp-3.0.1rc11 2003-02-18 16:37:52 +00:00
perry
8a49ec08e4 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
groo
9361711536 Be careful about destination buffer having positive size. 2003-01-15 00:29:13 +00:00
tron
8fcc2bc94f The file "src/dist/dhcp/minires/res_mkupdate.c,v" is corrupted on
"anoncvs.netbsd.org" and hence in many checked out source trees. Add
a dummy revision to fix that problem.
2003-01-02 10:04:32 +00:00
thorpej
eb4df29507 Avoid strict alias warnings. 2002-12-06 04:09:30 +00:00
thorpej
452f3dd1ad Avoid strict-alias warnings. 2002-12-06 04:06:13 +00:00
thorpej
6086842609 Avoid strict alias warnings. 2002-12-06 04:02:49 +00:00
wiz
bcae355603 Fix typo. Found by Adrian Mrva. 2002-10-29 16:16:14 +00:00
wiz
756bcd1182 Fix typo. Found by Adrian Mrva. 2002-10-29 16:08:59 +00:00
wiz
4b20971f01 Spell acquire with a 'c'. 2002-07-10 23:16:32 +00:00
drochner
ee19f13ab5 add a "ddns-updata-style" line; dhcpd won't start without one
(PR bin/12702 by Patrick Welche)
2002-06-19 15:49:02 +00:00
wiz
a518254934 Add a missing semicolon. Reported by Ian Dall in bin/17311. 2002-06-19 08:51:38 +00:00
matt
1a1ebdfac1 If rcsid away since gcc3 doesn't like unreferenced static vars. Also we
do that for other stuff like tcpdump.
2002-06-15 01:32:13 +00:00
wiz
67e1c672d0 'comparison', not 'comparision' (hi Matthias!) 2002-06-11 15:22:57 +00:00
drochner
15dd275fb1 some more:
add a comment at some code which looks like nonsense but is a -fshort-enums
fix (by bjh21)
2002-06-11 15:16:28 +00:00
drochner
0cfebeeb7a add a comment at some code which looks like nonsense but is a -fshort-enums
fix (by bjh21)
2002-06-11 14:50:30 +00:00
drochner
d6101bf1eb get closer to the original in a whitespace matter 2002-06-11 14:27:21 +00:00
drochner
e13d261ece Coordinated Universal Time, damnit! 2002-06-11 14:24:54 +00:00
drochner
70e620efb1 remove a wrong fix: UTC is really "Coordinated Universal Time" 2002-06-11 14:22:18 +00:00
drochner
01ce8ad711 printf format fix 2002-06-11 14:17:27 +00:00
drochner
7020df4066 make it compile with -Wall again 2002-06-11 14:12:58 +00:00
drochner
c12aee07f2 merge dhcp-3.0.1rc9 2002-06-11 13:59:59 +00:00
drochner
0fbf47fd83 import of ISC dhcp-3.0.1rc9 2002-06-11 12:24:31 +00:00
itojun
5b43820fcf WARNS=1 clean. patch submitted to dhcp-bugs@isc.org. 2002-06-10 00:30:33 +00:00
itojun
5ecb76484a missing initialization of sockaddr. from deraadt 2002-06-02 15:17:17 +00:00
wiz
d30d25dc1a Spelling fixes, from Sergey Svishchev in kern/16650. 2002-05-12 15:48:36 +00:00
christos
abf0491189 fix the error message to print the correct value. Pointed out by Richard Rauch 2002-04-03 03:32:50 +00:00
bjh21
913037a61e When checking that a potentially-unsigned enum is >= 0, assign it to an int
first.  This is necessary to avoid warnings with -fshort-enums.  Casting
to an int really should be enough, but turns out not to be.

This change will be documented in doc/HACKS.
2002-03-18 20:26:50 +00:00
bjh21
ad4b72abb9 Check isc_result_t values with != ISC_R_SUCCESS, rather than < 0.
Suggested by Ted Lemon, but not yet in an ISC DHCP release.
This is necessary to avoid warning with -fshort-enums.
2002-03-18 20:25:58 +00:00
bjh21
76b77c2c35 When checking that a potentially-unsigned enum is >= 0, assign it to an int
first.  This is necessary to avoid warnings with -fshort-enums.  Casting
to an int really should be enough, but turns out not to be.

This change will be documented in doc/HACKS.
2002-03-18 20:16:49 +00:00
bjh21
6047cf765e Another change from 3.0.1rc7:
- Fix a bug in ns_parserr(), where it was returning the wrong sort
  of result code in some cases.

This is required to allow some -fshort-enums warnings to be fixed.
2002-03-18 20:13:53 +00:00
bjh21
a4f14f6e11 Pull down change from 3.0.1rc7:
- Fix a bug in is_identifier(), where it was checking against EOF
  instead of the END_OF_FILE token.

This is required to eliminate a warning with -fshort-enums.
2002-03-18 19:54:11 +00:00
martin
3a47d27d5d Fix two LP64/be bugs, patch from ura@hiru.aoba.yokohama.jp in PR 15641. 2002-02-17 20:18:52 +00:00
thorpej
7ff92fc079 PTRSIZE_64BIT on x86_64, too. 2002-01-23 02:37:39 +00:00
wiz
78e040dc00 Check for '-' as first character only after we checked all recognized
options. Problem report and fix by Tero Kivinen in bin/14935.
2001-12-14 15:20:17 +00:00
wiz
6f171e404b Misc formatting fixes. 2001-12-07 19:14:08 +00:00
wiz
b4371d47f5 Replace some misuses of "then" with "than". 2001-12-04 17:56:30 +00:00
wiz
b8625f9b65 extensions-path-name -> extensions-path (misc/14147). 2001-10-04 12:26:25 +00:00
wiz
4c99916337 va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00