summaryrefslogtreecommitdiffstats
path: root/libexec/bootpd
Commit message (Collapse)AuthorAgeFilesLines
* Make tv_sec a time_t on all platforms but alpha. Brings us more in line withtrhodes2005-12-241-2/+3
| | | | | | | | | POSIX. This also makes the struct correct we ever implement an i386-time64 architecture. Not that we need too. Reviewed by: imp, brooks Approved by: njl (acpica), des (no objects, touches procfs) Tested with: make universe
* Fix most cases where the address of an int is passed to a function expecting astefanf2005-02-141-1/+2
| | | | socklen_t * argument.
* Expand *n't contractions.ru2005-02-131-1/+1
|
* Sort sections.ru2005-01-181-10/+10
|
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-211-1/+1
| | | | OK'ed by: core
* For variables that are only checked with defined(), don't provideru2004-10-241-1/+1
| | | | any fake value.
* Call nmatch function with parameters casted to types the function actuallykan2004-07-291-1/+1
| | | | expects.
* Deal with double whitespace.ru2004-07-031-1/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-022-32/+64
|
* Bump document date for the latest change.ru2004-05-161-3/+3
| | | | Minor markup tweaks.
* Add the '-h hostname' to usage(), too.roam2004-02-131-1/+3
| | | | | | | | While I'm here, sync the usage() synopsis with the manual page synopsis: make the [-i | -s] explicit and sort the options alphabetically. Reminded by: ru MFC after: 3 days
* Document the '-h hostname' option, which seems to have been presentroam2004-02-101-7/+14
| | | | | | | | | ever since rev. 1.1 of bootpd.c. While I'm here, rearrange the synopsis a bit: sort the options and clarify that -i and -s are mutually exclusive. Reported by: Atanas Buchvarov <nasko@nove.bg> MFC after: 3 days
* fix a couple typos in the commentsjmg2003-06-151-2/+2
| | | | From NetBSD's bootpd (in src/usr.sbin/bootp)
* fix bootpd to use fd_set. For some reason on Sparc, using int withjmg2003-06-151-4/+6
| | | | select is broken.
* Add FBSDID. udp/bootps -> bootps/udp. Use err(3).charnier2003-02-054-46/+41
|
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-301-1/+1
| | | | Add FreeBSD Id tag where missing.
* Don't call report() without a format string.kris2002-10-131-1/+1
| | | | MFC after: 3 days
* Use strlcpy instead of incorrectly using strncpy.kris2002-10-131-1/+1
| | | | MFC after: 2 weeks
* de-__P()alfred2002-10-092-2/+2
|
* Replace various spelling with FALLTHROUGH which is lint()ablecharnier2002-08-251-2/+3
|
* mdoc(7) police: Removed redundant .Ns calls.ru2002-08-131-1/+1
|
* The .Nm utilitycharnier2002-07-063-6/+11
|
* Assume __STDC__, remove non-__STDC__ code. ↵alfred2002-05-282-24/+4
| | | | Remove private __P.
* Assume __STDC__, remove non-__STDC__ code.alfred2002-05-281-11/+3
| | | | Remove private __P.
* This code defined a private __P, nuke it.alfred2002-05-288-87/+59
|
* Assume __STDC__, remove non-__STDC__ code.alfred2002-05-2814-97/+17
| | | | Reviewed by: md5
* Mark report() as printflike and fix resulting warnings, including one bugkris2002-02-044-4/+4
| | | | (get_errmsg -> get_errmsg())
* Avoid a few compiler warnings (printf codes, missing includes etc).iedowse2001-09-293-4/+8
| | | | | | PR: bin/30864 Obtained from: Dan Lukes <dan@obluda.cz> MFC after: 1 week
* Missing `break' statements caused two error messages to becomeiedowse2001-09-291-1/+3
| | | | | | | | | "unkown error" [sic]. Add the missing breaks, and correct the spelling typo. PR: bin/30865 Submitted by: Dan Lukes <dan@obluda.cz> MFC after: 1 week
* RFC2132 is not clear about whether the "Maximum DHCP Message Size"iedowse2001-09-252-2/+4
| | | | | | | | | | | | | | | refers to the size of the whole ethernet packet, just the DHCP message within the UDP payload, or something else. bootpd interpreted it as a maximum UDP payload size, so it could end up sending fragmented packets to clients (such as some versions of Etherboot) that used different interpretations of the maximum message size. Switch to the most conservative interpretation: ensure that the ethernet packet containing the response is no larger than the specified maximum message size. This matches the behaviour of the ISC dhcpd. MFC after: 1 week
* mdoc(7) police: protect trailing full stops of abbreviationsru2001-08-101-1/+1
| | | | with a trailing zero-width space: `e.g.\&'.
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
* - Backout botched attempt to intoduce MANSECT feature.ru2001-03-264-3/+3
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for libexec/ to 8.ru2001-03-203-3/+2
|
* Preceed/preceeding are not english words. Use precede or preceding.asmodai2001-02-181-2/+2
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-012-5/+5
|
* man(7) -> mdoc(7).ru2001-01-162-97/+106
|
* mdoc(7) police: .Os CMU -> .Os, split authors for better output.ru2000-12-122-2/+3
|
* mdoc(7) police: use canonical form of .Dd macro.ru2000-12-111-1/+1
|
* Add `_PATH_DEVZERO'.obrien2000-12-093-3/+8
| | | | Use _PATH_* where where possible.
* Constifykris2000-11-262-5/+6
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-10/+10
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-28/+27
|
* Fix to=auto in bootptab.dirk2000-11-101-6/+10
| | | | | | PR: misc/5574 Submitted by: Bart Robinson <lomew@marker.cs.utah.edu> Reviewed by: wollman
* strerror is declared in <string.h>imp2000-09-041-3/+4
| | | | errno is declared in <errno.h>
* Fix bootpd for Alpha.marcel1999-11-123-9/+11
| | | | | | | | | | | bptypes.h originally defined int32 to be of type long. This obviously doesn't work on the Alpha. By defining int32 (and u_int32) in terms of int32_t (and u_int32_t) it now is what it says it should be. Two occurrences of 'unsigned int32' have been changed to 'u_int32' for consistency. Submitted by: Wilko Bulte <wilko@yedi.iaf.nl>
* Add $FreeBSD$ lines to man pages that are missing them to make itmpp1999-08-282-0/+4
| | | | | | | easier for translation teams. PR: docs/13418 Submitted by: Alexey Zelkin <phantom@cris.net>
* $Id$ -> $FreeBSD$peter1999-08-2834-34/+34
|
* Fix a couple of typos.mpp1999-07-121-3/+3
| | | | | PR: 12610 Submitted by: Seth <seth@freebie.dp.ny.frb.org>
* More egcs warning fixes:imp1999-04-254-7/+10
| | | | | | | | | | o main returns int not void o use return 0 at end of main when needed o use braces to avoid potentially ambiguous else o don't default to type int (and also remove a useless register modifier). Reviewed by: obrien and chuckr
OpenPOWER on IntegriCloud