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
Matthew Dillon
3a3c0cf418
PR: bin/9031
...
Changed unbounded strcpy() to snprintf() to fix buffer overrun exploit
1998-12-12 20:56:53 +00:00
Bruce Evans
74b5e3ebd1
Don't assume that time_t is long. Fixed printf format errors.
1998-06-29 16:47:08 +00:00
Joerg Wunsch
09caeadeda
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
Joseph Koshy
9595a75afa
Spelling corrections.
...
PR: 6829
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-03 04:21:41 +00:00
Philippe Charnier
81389de071
Convert to mdoc. Header -> Id. Typo.
1998-02-03 07:30:22 +00:00
Bruce Evans
cc03533c8d
Removed most unused includes of <net/if_var.h> outside the kernel.
1998-01-16 17:38:56 +00:00
Masafumi Max NAKANE
b1d9db7283
Typo fix: bootgw -> bootpgw
1997-12-29 13:59:28 +00:00
Warner Losh
9bc34f7ce1
Use snprintf rather than printf out of paranoia
...
Obtained from: OpenBSD
1997-12-24 18:56:03 +00:00
Joerg Wunsch
71c971334b
Fix description of -t option.
...
PR: 3382
Submitted by: furuta@sra.co.jp (Atsushi Furuta)
1997-08-24 18:21:34 +00:00
Poul-Henning Kamp
798c69cd78
Don't rely on stderr to report bad news.
1997-05-11 14:27:03 +00:00
Peter Wemm
9e522f7a18
Revert $FreeBSD$ to $Id$
1997-02-22 14:22:49 +00:00
Jordan K. Hubbard
9a969423ea
Fix a hop count datatype bogon pointed out in PR#2642 (though my fix
...
was slightly different than the one submitted).
Submitted by: Elmar Bartel <bartel@informatik.tu-muenchen.de>
1997-02-07 20:03:49 +00:00
Jordan K. Hubbard
1130b656e5
Make the long-awaited change from $Id$ to $FreeBSD$
...
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.
1997-01-14 07:20:47 +00:00
Garrett Wollman
702a1d0148
Update to match changes in <net/if.h>.
1997-01-03 20:19:50 +00:00
Garrett Wollman
628d2ac1b0
Fix up programs which expect <net/if.h> to include <sys/time.h> to instead
...
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.
1996-12-10 17:11:53 +00:00
Poul-Henning Kamp
9649260fa5
doc/1994: spelling error.
...
Submitted by: David Leonard David Leonard <d@scry.dstc.edu.au>
1996-11-12 13:32:49 +00:00
Wolfram Schneider
148531ef1e
add forgotten $Id$
1996-09-22 21:56:57 +00:00
Poul-Henning Kamp
d3e560a1d3
Make the inetd suggestion slightly less confusing.
1996-09-19 08:21:18 +00:00
Paul Traina
86ca32cd60
bootpd.dump is in /tmp
1996-09-11 01:37:24 +00:00
Mike Pritchard
5ea43fd200
Add some missing manual page links.
1996-02-02 17:48:46 +00:00
Paul Traina
4f5241c655
Fix getif() to work under 4.3bsd and later
1996-01-23 09:44:45 +00:00
Paul Traina
6e159bbc62
Merge back in 4.4bsd ARP changes by hand
1996-01-23 02:22:16 +00:00
Paul Traina
0490e2a765
Add bootpgw makefile
1996-01-23 02:02:03 +00:00
Paul Traina
d1c0e75921
Fix conflicts from 2.4.3 merge
1996-01-23 01:58:00 +00:00
Paul Traina
e08ac58bbe
Import bootpd-2.4.3 from ftp.mc.com
1996-01-23 01:35:04 +00:00
Paul Traina
ee3ee9eeaa
Minor cleanups from NetBSD-current.
...
Obtained from: NetBSD
1996-01-23 00:57:19 +00:00
Bruce Evans
9987ab26d8
Fix SRCS (.c's were .o's) so that `make depend' works.
1995-09-28 17:33:16 +00:00
Bill Paul
017eb962e0
Uncomment 'CFLAGS+=ETC_ETHERS' -- we have support for this as of 2.0.5.
1995-07-25 23:38:40 +00:00
Rodney W. Grimes
6c06b4e2aa
Remove trailing whitespace.
1995-05-30 05:51:47 +00:00
Gary Palmer
fa877a53cb
The servers bootpd & bootpgw live in /usr/libexec not /etc. Correct the
...
references in the man page.
1995-04-12 00:24:48 +00:00
Doug Rabson
7cb18415b8
Discard any messages which are buffered on the routing socket before using
...
it otherwise the response to one of our routing messages could be lost due
to buffer overflow.
1995-01-30 11:11:43 +00:00
Doug Rabson
c48edefb3c
Change to use RTM_CHANGE when an arp entry already exists. This closes
...
problem bin/57 which was caused when an incomplete entry was present for the
host which was booting.
1995-01-16 18:57:45 +00:00
Jordan K. Hubbard
fb59d6ab65
__386BSD__ -> __FreeBSD__
...
I know that many of these entries are bogus and need to be revisited,
but let's get the tree working again for now and then do a pass through
looking at all the __FreeBSD__ entries, shall we?
1994-11-04 02:14:13 +00:00
Paul Traina
44099b7b1e
Rearrange bootpd
1994-09-30 05:45:07 +00:00