aboutsummaryrefslogtreecommitdiff
path: root/libexec/bootpd
Commit message (Collapse)AuthorAgeFilesLines
...
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-022-32/+64
| | | | Notes: svn path=/head/; revision=131487
* Bump document date for the latest change.Ruslan Ermilov2004-05-161-3/+3
| | | | | | | Minor markup tweaks. Notes: svn path=/head/; revision=129303
* Add the '-h hostname' to usage(), too.Peter Pentchev2004-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 Notes: svn path=/head/; revision=125769
* Document the '-h hostname' option, which seems to have been presentPeter Pentchev2004-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 Notes: svn path=/head/; revision=125654
* fix a couple typos in the commentsJohn-Mark Gurney2003-06-151-2/+2
| | | | | | | From NetBSD's bootpd (in src/usr.sbin/bootp) Notes: svn path=/head/; revision=116371
* fix bootpd to use fd_set. For some reason on Sparc, using int withJohn-Mark Gurney2003-06-151-4/+6
| | | | | | | select is broken. Notes: svn path=/head/; revision=116370
* Add FBSDID. udp/bootps -> bootps/udp. Use err(3).Philippe Charnier2003-02-054-46/+41
| | | | Notes: svn path=/head/; revision=110395
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/Jens Schweikhardt2002-12-301-1/+1
| | | | | | | Add FreeBSD Id tag where missing. Notes: svn path=/head/; revision=108470
* Don't call report() without a format string.Kris Kennaway2002-10-131-1/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=105041
* Use strlcpy instead of incorrectly using strncpy.Kris Kennaway2002-10-131-1/+1
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=105039
* de-__P()Alfred Perlstein2002-10-092-2/+2
| | | | Notes: svn path=/head/; revision=104742
* Replace various spelling with FALLTHROUGH which is lint()ablePhilippe Charnier2002-08-251-2/+3
| | | | Notes: svn path=/head/; revision=102411
* mdoc(7) police: Removed redundant .Ns calls.Ruslan Ermilov2002-08-131-1/+1
| | | | Notes: svn path=/head/; revision=101828
* The .Nm utilityPhilippe Charnier2002-07-063-6/+11
| | | | Notes: svn path=/head/; revision=99500
* Assume __STDC__, remove non-__STDC__ code. ↵Alfred Perlstein2002-05-282-24/+4
| | | | | | | Remove private __P. Notes: svn path=/head/; revision=97419
* Assume __STDC__, remove non-__STDC__ code.Alfred Perlstein2002-05-281-11/+3
| | | | | | | Remove private __P. Notes: svn path=/head/; revision=97418
* This code defined a private __P, nuke it.Alfred Perlstein2002-05-288-87/+59
| | | | Notes: svn path=/head/; revision=97417
* Assume __STDC__, remove non-__STDC__ code.Alfred Perlstein2002-05-2814-97/+17
| | | | | | | Reviewed by: md5 Notes: svn path=/head/; revision=97416
* Mark report() as printflike and fix resulting warnings, including one bugKris Kennaway2002-02-044-4/+4
| | | | | | | (get_errmsg -> get_errmsg()) Notes: svn path=/head/; revision=90159
* Avoid a few compiler warnings (printf codes, missing includes etc).Ian Dowse2001-09-293-4/+8
| | | | | | | | | PR: bin/30864 Obtained from: Dan Lukes <dan@obluda.cz> MFC after: 1 week Notes: svn path=/head/; revision=84125
* Missing `break' statements caused two error messages to becomeIan Dowse2001-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 Notes: svn path=/head/; revision=84119
* RFC2132 is not clear about whether the "Maximum DHCP Message Size"Ian Dowse2001-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 Notes: svn path=/head/; revision=83941
* mdoc(7) police: protect trailing full stops of abbreviationsRuslan Ermilov2001-08-101-1/+1
| | | | | | | with a trailing zero-width space: `e.g.\&'. Notes: svn path=/head/; revision=81449
* Remove whitespace at EOL.Dima Dorfman2001-07-151-2/+2
| | | | Notes: svn path=/head/; revision=79754
* - Backout botched attempt to intoduce MANSECT feature.Ruslan Ermilov2001-03-264-3/+3
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74814
* Set the default manual section for libexec/ to 8.Ruslan Ermilov2001-03-203-3/+2
| | | | Notes: svn path=/head/; revision=74529
* Preceed/preceeding are not english words. Use precede or preceding.Jeroen Ruigrok van der Werven2001-02-181-2/+2
| | | | Notes: svn path=/head/; revision=72640
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-012-5/+5
| | | | Notes: svn path=/head/; revision=71895
* man(7) -> mdoc(7).Ruslan Ermilov2001-01-162-97/+106
| | | | Notes: svn path=/head/; revision=71112
* mdoc(7) police: .Os CMU -> .Os, split authors for better output.Ruslan Ermilov2000-12-122-2/+3
| | | | Notes: svn path=/head/; revision=69913
* mdoc(7) police: use canonical form of .Dd macro.Ruslan Ermilov2000-12-111-1/+1
| | | | Notes: svn path=/head/; revision=69857
* Add `_PATH_DEVZERO'.David E. O'Brien2000-12-093-3/+8
| | | | | | | Use _PATH_* where where possible. Notes: svn path=/head/; revision=69793
* ConstifyKris Kennaway2000-11-262-5/+6
| | | | Notes: svn path=/head/; revision=69200
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-10/+10
| | | | Notes: svn path=/head/; revision=68949
* Avoid use of direct troff requests in mdoc(7) manual pages.Ruslan Ermilov2000-11-101-28/+27
| | | | Notes: svn path=/head/; revision=68575
* Fix to=auto in bootptab.Dirk Froemberg2000-11-101-6/+10
| | | | | | | | | PR: misc/5574 Submitted by: Bart Robinson <lomew@marker.cs.utah.edu> Reviewed by: wollman Notes: svn path=/head/; revision=68561
* strerror is declared in <string.h>Warner Losh2000-09-041-3/+4
| | | | | | | errno is declared in <errno.h> Notes: svn path=/head/; revision=65426
* Fix bootpd for Alpha.Marcel Moolenaar1999-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> Notes: svn path=/head/; revision=53105
* Add $FreeBSD$ lines to man pages that are missing them to make itMike Pritchard1999-08-282-0/+4
| | | | | | | | | | easier for translation teams. PR: docs/13418 Submitted by: Alexey Zelkin <phantom@cris.net> Notes: svn path=/head/; revision=50533
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2834-34/+34
| | | | Notes: svn path=/head/; revision=50476
* Fix a couple of typos.Mike Pritchard1999-07-121-3/+3
| | | | | | | | PR: 12610 Submitted by: Seth <seth@freebie.dp.ny.frb.org> Notes: svn path=/head/; revision=48786
* More egcs warning fixes:Warner Losh1999-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 Notes: svn path=/head/; revision=46078
* Ensure that things returned by gethostname() andBrian Somers1999-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 Notes: svn path=/head/; revision=45422
* Block for buffer overflow.Eivind Eklund1998-12-131-1/+3
| | | | Notes: svn path=/head/; revision=41734
* PR: bin/9031Matthew Dillon1998-12-121-2/+2
| | | | | | | Changed unbounded strcpy() to snprintf() to fix buffer overrun exploit Notes: svn path=/head/; revision=41699
* Don't assume that time_t is long. Fixed printf format errors.Bruce Evans1998-06-291-5/+5
| | | | Notes: svn path=/head/; revision=37261
* Use gethostname(3) to obtain the local host name, as opposed to uname(3).Joerg Wunsch1998-06-031-5/+4
| | | | | | | Otherwise the length of the name is limited to 32 characters only. Notes: svn path=/head/; revision=36617
* Spelling corrections.Joseph Koshy1998-06-031-3/+3
| | | | | | | | PR: 6829 Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=36601
* Convert to mdoc. Header -> Id. Typo.Philippe Charnier1998-02-032-395/+394
| | | | Notes: svn path=/head/; revision=33035
* Removed most unused includes of <net/if_var.h> outside the kernel.Bruce Evans1998-01-161-2/+1
| | | | Notes: svn path=/head/; revision=32570