kan
44ddf6cddd
Call nmatch function with parameters casted to types the function actually
...
expects.
2004-07-29 18:05:20 +00:00
ru
305463f129
Deal with double whitespace.
2004-07-03 00:06:28 +00:00
ru
20fbd172b2
Mechanically kill hard sentence breaks.
2004-07-02 21:28:50 +00:00
ru
e260fd7688
Bump document date for the latest change.
...
Minor markup tweaks.
2004-05-16 22:11:22 +00:00
roam
4d05d5efa5
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
0d5a6d9790
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
80728f5713
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
215585360b
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
6e45bdfe12
Add FBSDID. udp/bootps -> bootps/udp. Use err(3).
2003-02-05 13:45:25 +00:00
schweikh
86f7487fb6
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
10962700eb
Don't call report() without a format string.
...
MFC after: 3 days
2002-10-13 11:27:36 +00:00
kris
5b0c1af47d
Use strlcpy instead of incorrectly using strncpy.
...
MFC after: 2 weeks
2002-10-13 11:25:31 +00:00
alfred
4c4e655234
de-__P()
2002-10-09 23:22:11 +00:00
charnier
4966efff7b
Replace various spelling with FALLTHROUGH which is lint()able
2002-08-25 13:10:45 +00:00
ru
ce971426f4
mdoc(7) police: Removed redundant .Ns calls.
2002-08-13 16:07:28 +00:00
charnier
9639b20db6
The .Nm utility
2002-07-06 19:19:48 +00:00
alfred
92330964c1
Assume __STDC__, remove non-__STDC__ code. Remove private __P.
2002-05-28 18:39:53 +00:00
alfred
4b9492924e
Assume __STDC__, remove non-__STDC__ code.
...
Remove private __P.
2002-05-28 18:37:43 +00:00
alfred
d1950fa257
This code defined a private __P, nuke it.
2002-05-28 18:36:43 +00:00
alfred
d91b7c2d0f
Assume __STDC__, remove non-__STDC__ code.
...
Reviewed by: md5
2002-05-28 18:31:41 +00:00
kris
9c4676241d
Mark report() as printflike and fix resulting warnings, including one bug
...
(get_errmsg -> get_errmsg())
2002-02-04 01:28:45 +00:00
iedowse
4ca6bf57c4
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
1556b78bef
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
c6a3ab8fc6
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
80f060f0cf
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
a145482cf6
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
ru
45d92a4319
- Backout botched attempt to intoduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:22:12 +00:00
ru
a23a98f937
Set the default manual section for libexec/ to 8.
2001-03-20 18:10:13 +00:00
asmodai
0f00927ea0
Preceed/preceeding are not english words. Use precede or preceding.
2001-02-18 10:25:42 +00:00
ru
8a6f8b5fe4
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
ru
bf387fb2e3
man(7) -> mdoc(7).
2001-01-16 13:12:21 +00:00
ru
974dfe4e40
mdoc(7) police: .Os CMU -> .Os, split authors for better output.
2000-12-12 15:31:21 +00:00
ru
278161ed6c
mdoc(7) police: use canonical form of .Dd macro.
2000-12-11 15:15:20 +00:00
obrien
c2ee1dcc02
Add `_PATH_DEVZERO'.
...
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
kris
8eae02ff46
Constify
2000-11-26 10:21:54 +00:00
ru
fda4c0a990
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 14:42:24 +00:00
ru
a6f5d950d8
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
dirk
c9dfa8c82c
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
8332187617
strerror is declared in <string.h>
...
errno is declared in <errno.h>
2000-09-04 05:48:09 +00:00
marcel
ecf46de395
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
02b18f847f
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
76f0c923fe
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
mpp
258f51ed77
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
8b33b875ef
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
c6c6c7de65
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
c07885f31e
Block for buffer overflow.
1998-12-13 21:02:28 +00:00
dillon
4a5ab955ca
PR: bin/9031
...
Changed unbounded strcpy() to snprintf() to fix buffer overrun exploit
1998-12-12 20:56:53 +00:00
bde
0b0c5d1c4e
Don't assume that time_t is long. Fixed printf format errors.
1998-06-29 16:47:08 +00:00
joerg
76360747fe
Use gethostname(3) to obtain the local host name, as opposed to uname(3).
...
Otherwise the length of the name is limited to 32 characters only.
1998-06-03 20:01:28 +00:00
jkoshy
15683e67b6
Spelling corrections.
...
PR: 6829
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-03 04:21:41 +00:00