stefanf
c15c71c518
Fix most cases where the address of an int is passed to a function expecting a
...
socklen_t * argument.
2005-02-14 17:42:58 +00:00
ru
d65df7068b
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
ru
a39443efdf
Sort sections.
2005-01-18 09:29:40 +00:00
ru
54d390266a
Start the dreaded NOFOO -> NO_FOO conversion.
...
OK'ed by: core
2004-12-21 08:47:35 +00:00
ru
1edab47bcf
For variables that are only checked with defined(), don't provide
...
any fake value.
2004-10-24 15:33:08 +00:00
kan
4de36c081e
Call nmatch function with parameters casted to types the function actually
...
expects.
2004-07-29 18:05:20 +00:00
ru
eee9de5466
Deal with double whitespace.
2004-07-03 00:06:28 +00:00
ru
ca43275854
Mechanically kill hard sentence breaks.
2004-07-02 21:28:50 +00:00
ru
9f5dd164fa
Bump document date for the latest change.
...
Minor markup tweaks.
2004-05-16 22:11:22 +00:00
roam
baedd90207
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
roam
feafab5651
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
jmg
5fcec22982
fix a couple typos in the comments
...
From NetBSD's bootpd (in src/usr.sbin/bootp)
2003-06-15 03:08:37 +00:00
jmg
36a3392be2
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
charnier
97a37189fc
Add FBSDID. udp/bootps -> bootps/udp. Use err(3).
2003-02-05 13:45:25 +00:00
schweikh
28d78933e7
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
71f3535182
Don't call report() without a format string.
...
MFC after: 3 days
2002-10-13 11:27:36 +00:00
kris
570c0e24b3
Use strlcpy instead of incorrectly using strncpy.
...
MFC after: 2 weeks
2002-10-13 11:25:31 +00:00
alfred
cf5cf23ffa
de-__P()
2002-10-09 23:22:11 +00:00
charnier
06afb62b3c
Replace various spelling with FALLTHROUGH which is lint()able
2002-08-25 13:10:45 +00:00
ru
5ebb137010
mdoc(7) police: Removed redundant .Ns calls.
2002-08-13 16:07:28 +00:00
charnier
bb97d03ce3
The .Nm utility
2002-07-06 19:19:48 +00:00
alfred
0bcbc1b5e7
Assume __STDC__, remove non-__STDC__ code. Remove private __P.
2002-05-28 18:39:53 +00:00
alfred
695dae1914
Assume __STDC__, remove non-__STDC__ code.
...
Remove private __P.
2002-05-28 18:37:43 +00:00
alfred
1ec525ea8f
This code defined a private __P, nuke it.
2002-05-28 18:36:43 +00:00
alfred
230a94de1b
Assume __STDC__, remove non-__STDC__ code.
...
Reviewed by: md5
2002-05-28 18:31:41 +00:00
kris
af7d59aa2e
Mark report() as printflike and fix resulting warnings, including one bug
...
(get_errmsg -> get_errmsg())
2002-02-04 01:28:45 +00:00
iedowse
4b26ef3f0e
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
iedowse
3b9ca47133
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
iedowse
a9705b5111
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
ru
9174553bc8
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
dd
c49a4e6620
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
ru
1ef340bf02
- Backout botched attempt to intoduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:22:12 +00:00
ru
0b5a623dc6
Set the default manual section for libexec/ to 8.
2001-03-20 18:10:13 +00:00
asmodai
a667ae6c5c
Preceed/preceeding are not english words. Use precede or preceding.
2001-02-18 10:25:42 +00:00
ru
b1c3961564
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
ru
6ab4c900b4
man(7) -> mdoc(7).
2001-01-16 13:12:21 +00:00
ru
9161e48ab4
mdoc(7) police: .Os CMU -> .Os, split authors for better output.
2000-12-12 15:31:21 +00:00
ru
d321795841
mdoc(7) police: use canonical form of .Dd macro.
2000-12-11 15:15:20 +00:00
obrien
46d04a9db4
Add `_PATH_DEVZERO'.
...
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
kris
35572f18e9
Constify
2000-11-26 10:21:54 +00:00
ru
d13355bd1f
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 14:42:24 +00:00
ru
f9c7198049
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
dirk
015104b648
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
imp
eef5485b2b
strerror is declared in <string.h>
...
errno is declared in <errno.h>
2000-09-04 05:48:09 +00:00
marcel
0e0e4d8e0a
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
mpp
08e72288bf
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
e226894fa0
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
mpp
7912840a2b
Fix a couple of typos.
...
PR: 12610
Submitted by: Seth <seth@freebie.dp.ny.frb.org>
1999-07-12 18:37:48 +00:00
imp
945fc2a1a0
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
3794629aa4
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