summaryrefslogtreecommitdiffstats
path: root/libexec/bootpd
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Ensure that things returned by gethostname() andbrian1999-04-071-3/+5
| | | | | | | | | | friends are terminated and allow for a maximum host name length of MAXHOSTNAMELEN - 1. Put parenthesis around sizeof args. Make some variables static. Fix telnetd -u (broken by my last commit) Prompted by: bde
* Block for buffer overflow.eivind1998-12-131-1/+3
|
* PR: bin/9031dillon1998-12-121-2/+2
| | | | Changed unbounded strcpy() to snprintf() to fix buffer overrun exploit
* Don't assume that time_t is long. Fixed printf format errors.bde1998-06-291-5/+5
|
* Use gethostname(3) to obtain the local host name, as opposed to uname(3).joerg1998-06-031-5/+4
| | | | Otherwise the length of the name is limited to 32 characters only.
* Spelling corrections.jkoshy1998-06-031-3/+3
| | | | | PR: 6829 Submitted by: Josh Gilliam <josh@quick.net>
* Convert to mdoc. Header -> Id. Typo.charnier1998-02-032-395/+394
|
* Removed most unused includes of <net/if_var.h> outside the kernel.bde1998-01-161-2/+1
|
* Typo fix: bootgw -> bootpgwmax1997-12-291-2/+2
|
* Use snprintf rather than printf out of paranoiaimp1997-12-245-9/+10
| | | | Obtained from: OpenBSD
* Fix description of -t option.joerg1997-08-241-2/+2
| | | | | PR: 3382 Submitted by: furuta@sra.co.jp (Atsushi Furuta)
* Don't rely on stderr to report bad news.phk1997-05-111-8/+8
|
* Revert $FreeBSD$ to $Id$peter1997-02-2232-32/+32
|
* Fix a hop count datatype bogon pointed out in PR#2642 (though my fixjkh1997-02-071-5/+6
| | | | | was slightly different than the one submitted). Submitted by: Elmar Bartel <bartel@informatik.tu-muenchen.de>
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1432-32/+32
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Update to match changes in <net/if.h>.wollman1997-01-032-3/+4
|
* Fix up programs which expect <net/if.h> to include <sys/time.h> to insteadwollman1996-12-105-11/+7
| | | | | | do it themselves. (Some of these programs actually depended on this beyond compiling the definition of struct ifinfo!) Also fix up some other #include messes while we're at it.
* doc/1994: spelling error.phk1996-11-121-2/+2
| | | | Submitted by: David Leonard David Leonard <d@scry.dstc.edu.au>
* add forgotten $Id$wosch1996-09-2223-2/+54
|
OpenPOWER on IntegriCloud