Ruslan Ermilov
0227791b40
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
Ruslan Ermilov
a3ac07a54e
Sort sections.
2005-01-18 09:29:40 +00:00
Ruslan Ermilov
e653b48c80
Start the dreaded NOFOO -> NO_FOO conversion.
...
OK'ed by: core
2004-12-21 08:47:35 +00:00
Ruslan Ermilov
a35d88931c
For variables that are only checked with defined(), don't provide
...
any fake value.
2004-10-24 15:33:08 +00:00
Alexander Kabaev
c27501e784
Call nmatch function with parameters casted to types the function actually
...
expects.
2004-07-29 18:05:20 +00:00
Ruslan Ermilov
1171aedcdf
Deal with double whitespace.
2004-07-03 00:06:28 +00:00
Ruslan Ermilov
c481aa05e8
Mechanically kill hard sentence breaks.
2004-07-02 21:28:50 +00:00
Ruslan Ermilov
caa40776d2
Bump document date for the latest change.
...
Minor markup tweaks.
2004-05-16 22:11:22 +00:00
Peter Pentchev
dc546e1a0e
Add the '-h hostname' to usage(), too.
...
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
2004-02-13 09:26:54 +00:00
Peter Pentchev
f9566be8dd
Document the '-h hostname' option, which seems to have been present
...
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
2004-02-10 15:12:01 +00:00
John-Mark Gurney
9bf69bf27a
fix a couple typos in the comments
...
From NetBSD's bootpd (in src/usr.sbin/bootp)
2003-06-15 03:08:37 +00:00
John-Mark Gurney
b6a0d4720e
fix bootpd to use fd_set. For some reason on Sparc, using int with
...
select is broken.
2003-06-15 03:05:14 +00:00
Philippe Charnier
538015aa3b
Add FBSDID. udp/bootps -> bootps/udp. Use err(3).
2003-02-05 13:45:25 +00:00
Jens Schweikhardt
d64ada501a
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
...
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
Kris Kennaway
ea63141090
Don't call report() without a format string.
...
MFC after: 3 days
2002-10-13 11:27:36 +00:00
Kris Kennaway
2386a44f8b
Use strlcpy instead of incorrectly using strncpy.
...
MFC after: 2 weeks
2002-10-13 11:25:31 +00:00
Alfred Perlstein
534ba86baa
de-__P()
2002-10-09 23:22:11 +00:00
Philippe Charnier
7fed38d0a0
Replace various spelling with FALLTHROUGH which is lint()able
2002-08-25 13:10:45 +00:00
Ruslan Ermilov
a654c53e16
mdoc(7) police: Removed redundant .Ns calls.
2002-08-13 16:07:28 +00:00
Philippe Charnier
3f162cb85d
The .Nm utility
2002-07-06 19:19:48 +00:00
Alfred Perlstein
f74779bdab
Assume __STDC__, remove non-__STDC__ code. Remove private __P.
2002-05-28 18:39:53 +00:00
Alfred Perlstein
91180daf65
Assume __STDC__, remove non-__STDC__ code.
...
Remove private __P.
2002-05-28 18:37:43 +00:00
Alfred Perlstein
f19d047aec
This code defined a private __P, nuke it.
2002-05-28 18:36:43 +00:00
Alfred Perlstein
5ed136e814
Assume __STDC__, remove non-__STDC__ code.
...
Reviewed by: md5
2002-05-28 18:31:41 +00:00
Kris Kennaway
be9efd5641
Mark report() as printflike and fix resulting warnings, including one bug
...
(get_errmsg -> get_errmsg())
2002-02-04 01:28:45 +00:00
Ian Dowse
7fe354ba91
Avoid a few compiler warnings (printf codes, missing includes etc).
...
PR: bin/30864
Obtained from: Dan Lukes <dan@obluda.cz>
MFC after: 1 week
2001-09-29 11:37:13 +00:00
Ian Dowse
c2c0f1952e
Missing `break' statements caused two error messages to become
...
"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
2001-09-29 10:31:28 +00:00
Ian Dowse
3f48bf186f
RFC2132 is not clear about whether the "Maximum DHCP Message Size"
...
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
2001-09-25 21:02:10 +00:00
Ruslan Ermilov
57e4378bf6
mdoc(7) police: protect trailing full stops of abbreviations
...
with a trailing zero-width space: `e.g.\&'.
2001-08-10 13:45:36 +00:00
Dima Dorfman
7ebcc426ef
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
Ruslan Ermilov
e5b5c66bca
- Backout botched attempt to intoduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:22:12 +00:00
Ruslan Ermilov
020ee2dc9f
Set the default manual section for libexec/ to 8.
2001-03-20 18:10:13 +00:00
Jeroen Ruigrok van der Werven
7c63796828
Preceed/preceeding are not english words. Use precede or preceding.
2001-02-18 10:25:42 +00:00
Ruslan Ermilov
d0353b836e
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
Ruslan Ermilov
bd26f2dafc
man(7) -> mdoc(7).
2001-01-16 13:12:21 +00:00
Ruslan Ermilov
e22bb3897a
mdoc(7) police: .Os CMU -> .Os, split authors for better output.
2000-12-12 15:31:21 +00:00
Ruslan Ermilov
a2fd3702a3
mdoc(7) police: use canonical form of .Dd macro.
2000-12-11 15:15:20 +00:00
David E. O'Brien
1a37aa566b
Add `_PATH_DEVZERO'.
...
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
Kris Kennaway
a16f31237a
Constify
2000-11-26 10:21:54 +00:00
Ruslan Ermilov
760819894e
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 14:42:24 +00:00
Ruslan Ermilov
726b61ab5f
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
Dirk Froemberg
59cc881262
Fix to=auto in bootptab.
...
PR: misc/5574
Submitted by: Bart Robinson <lomew@marker.cs.utah.edu>
Reviewed by: wollman
2000-11-10 12:19:53 +00:00
Warner Losh
7c62d872a5
strerror is declared in <string.h>
...
errno is declared in <errno.h>
2000-09-04 05:48:09 +00:00
Marcel Moolenaar
8ef94ce860
Fix bootpd for Alpha.
...
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>
1999-11-12 10:11:48 +00:00
Mike Pritchard
229494cb51
Add $FreeBSD$ lines to man pages that are missing them to make it
...
easier for translation teams.
PR: docs/13418
Submitted by: Alexey Zelkin <phantom@cris.net>
1999-08-28 23:10:20 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Mike Pritchard
2dd1e9f4e1
Fix a couple of typos.
...
PR: 12610
Submitted by: Seth <seth@freebie.dp.ny.frb.org>
1999-07-12 18:37:48 +00:00
Warner Losh
859663719d
More egcs warning fixes:
...
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
1999-04-25 22:23:38 +00:00
Brian Somers
9e9a43bdec
Ensure that things returned by gethostname() and
...
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
1999-04-07 08:27:45 +00:00
Eivind Eklund
d284feaa7b
Block for buffer overflow.
1998-12-13 21:02:28 +00:00