Warner Losh
d476a036e2
o remove __P
...
o remove main prototype
2002-03-21 13:20:49 +00:00
Ruslan Ermilov
e629e744a2
mdoc(7) police: GC duplicate VCS ID.
2002-03-15 15:02:13 +00:00
Mike Barcroft
fd8e4ebc8c
o Move NTOHL() and associated macros into <sys/param.h>. These are
...
deprecated in favor of the POSIX-defined lowercase variants.
o Change all occurrences of NTOHL() and associated marcros in the
source tree to use the lowercase function variants.
o Add missing license bits to sparc64's <machine/endian.h>.
Approved by: jake
o Clean up <machine/endian.h> files.
o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>.
o Remove prototypes for non-existent bswapXX() functions.
o Include <machine/endian.h> in <arpa/inet.h> to define the
POSIX-required ntohl() family of functions.
o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>,
and <sys/param.h>.
o Prepend underscores to the ntohl() family to help deal with
complexities associated with having MD (asm and inline) versions, and
having to prevent exposure of these functions in other headers that
happen to make use of endian-specific defines.
o Create weak aliases to the canonical function name to help deal with
third-party software forgetting to include an appropriate header.
o Remove some now unneeded pollution from <sys/types.h>.
o Add missing <arpa/inet.h> includes in userland.
Tested on: alpha, i386
Reviewed by: bde, jake, tmm
2002-02-18 20:35:27 +00:00
Jens Schweikhardt
ac512bd99a
Insert a missing paragraph break (.Pp).
...
MFC after: 3 weeks
2002-01-24 17:49:09 +00:00
Jens Schweikhardt
22539cefa1
Fix typo by s/advertise/advertises/
...
MFC after: 4 weeks
2002-01-16 19:19:09 +00:00
David E. O'Brien
2d68bf45bf
Default to WARNS=2.
...
Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
2001-12-04 02:19:58 +00:00
Ruslan Ermilov
bd1a63798a
The directory of the makefile that's including the file is tried first.
...
See section 3.2 of "PMake - A Tutorial" in /usr/share/doc/psd/12.make.
2001-10-25 08:37:12 +00:00
Peter Wemm
98815cc740
ftrace is already initialized
2001-08-13 21:56:09 +00:00
Ruslan Ermilov
c75526d5a0
mdoc(7) police: fixed the "new sentence" bogons.
2001-08-10 15:03:10 +00:00
Ruslan Ermilov
9fe48c6e8d
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 11:04:34 +00:00
Dima Dorfman
70d51341bf
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
2001-07-09 09:54:33 +00:00
Ruslan Ermilov
5521ff5a4d
mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).
2001-07-06 16:46:48 +00:00
Poul-Henning Kamp
3ce965f82e
Fix a byteorder problem in a diagnostic message.
...
PR: 16625
Submitted by: Peter Jeremy <peter.jeremy@ALCATEL.COM.AU>
2001-06-06 20:52:30 +00:00
Ruslan Ermilov
0a5779d45b
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
Ruslan Ermilov
fe655281c5
Set the default manual section for sbin/ to 8.
2001-03-20 18:13:31 +00:00
Ruslan Ermilov
896eb7d10c
Prepare for mdoc(7)NG.
2001-01-16 09:15:57 +00:00
Ruslan Ermilov
1252c1bb05
Prepare for mdoc(7)NG.
2000-12-18 15:16:24 +00:00
Ruslan Ermilov
7c7fb079b9
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 16:52:27 +00:00
Ruslan Ermilov
726b61ab5f
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
Sheldon Hearn
c0e2b70a76
Add $FreeBSD$.
2000-08-11 08:23:26 +00:00
Sheldon Hearn
6017865885
Resolve conflicts.
2000-08-10 07:54:33 +00:00
Sheldon Hearn
8b336df137
Import routed-2.22.
2000-08-10 07:48:06 +00:00
Sheldon Hearn
064effd49b
Resolve conflicts from vendor merge.
2000-08-02 11:38:20 +00:00
Sheldon Hearn
f7434bbd42
Import routed-2.21.
2000-08-02 11:12:54 +00:00
Jonathan Lemon
48f0c5dc0c
Fix memory leak when route addition fails.
...
Obtained from: NetBSD
2000-06-02 21:19:43 +00:00
Yoshinobu Inoue
d2a6238892
Add new rtmsg types which already defined in kernel.
2000-03-30 07:18:04 +00:00
Yoshinobu Inoue
230df2f637
Prevent buffer overflow.
...
PR: bin/17657
Submitted by: tanimura
2000-03-30 01:50:15 +00:00
Kris Kennaway
a320d9a259
Remove dead xrefs to gated(8) and htable(8)
...
Obtained from: OpenBSD
1999-11-15 02:53:31 +00:00
Peter Wemm
7a6c3acc83
$Revision$ -> $FreeBSD$ (more cleanup needed here)
1999-09-05 17:49:11 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Mike Pritchard
aa7c9adaea
Various man page cleanup:
...
- Sort xrefs
- FreeBSD.ORG -> FreeBSD.org
- Properly xref RFCs.
- Be consistent with section names as outlined in mdoc(7).
- Other misc mdoc cleanup.
PR: doc/13144
Submitted by: Alexey M. Zelkin <phantom@cris.net>
1999-08-15 08:06:12 +00:00
Mark Murray
a657e5291f
Incomplete. Back out until I can revisit.
1999-05-05 20:28:54 +00:00
Mark Murray
2ba7a95271
Restore perror --> err changes.
1999-05-05 06:15:30 +00:00
Mark Murray
c90fe7dc24
Merge-o-matic and add a bunch of $Id's
1999-05-02 13:14:16 +00:00
Mark Murray
2c7a97817b
Latest-and-greatest routed.
...
Includes RIPv2 and Router Discovery.
Submitted by: Vernon Schryver <vjs@calcite.rhyolite.com>
1999-05-02 10:51:54 +00:00
Philippe Charnier
90100551e6
Spelling, add rcsid, remove unused #includes.
...
Convert 1000000 usec to 1 sec 0 usec.
Use provided safe malloc (rtmalloc()) instead of malloc(): exit on allocation
failure.
Correct use of .Nm
Add usage() and use errx().
1998-07-28 06:36:31 +00:00
Poul-Henning Kamp
6f48600e53
/usr/src/sbin/routed/parms.c and .../routed/rtquery/rtquery.c both
...
contain code that compare a char pointer with a char. As this
doesn't make much sense, it looks very much as if a '*' has been
dropped by mistake. I have made no analysis of the possible
consequences of the problem.
PR: 7319
Reviewed by: phk
Submitted by: Anders Thulin <Anders.X.Thulin@telia.se>
1998-07-22 05:49:36 +00:00
Joseph Koshy
d00b8231bd
Remove reference to non-existent htable(8).
...
PR: 6940
1998-06-17 13:13:41 +00:00
Poul-Henning Kamp
0a61a2c2ce
Problem whith "subnet=" statement in /etc/gateways.
...
routed discards the first character of the network address.
Example: "subnet=10.0.0.0/24,1"
The network address is interpreted as 0.0.0.0/24,1.
PR: 4825
Reviewed by: phk
Submitted by: Mike E. Matsnev <mike@azog.cs.msu.su>
1998-04-19 17:53:16 +00:00
Philippe Charnier
69036300b2
Use err(3). Change exit(-1). Remove unused #include.
1998-01-14 07:17:12 +00:00
Daniel O'Callaghan
6f1edd29a4
Fix typo in comment.
1997-09-12 10:52:49 +00:00
Julian Elischer
a455644f13
Check if routed had the same problems that route(1) had.
...
The answer is not really, but almost.
it sent data that was ok, though it was a hack,
but it was bug-compatible with the kernel on receiving them. This also
had been fixed with a hack.. I hacked it better I think.
1997-07-18 11:08:35 +00:00
Philippe Charnier
768b3fbd57
Sync man page and usage string. Remove unused -p option from getopt call.
1997-06-18 06:34:28 +00:00
Philippe Charnier
7766b145c4
Sync man page and usage string.
1997-06-18 06:33:11 +00:00
Masafumi Max NAKANE
ac162c8fa6
Typo fix.
...
PR: 3854
Submitted by: Takahiro Yugawa <yugawa@orleans.rim.or.jp>
1997-06-13 20:58:09 +00:00
Warner Losh
8d64695c7c
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 03:33:12 +00:00
Mike Pritchard
6bae29046e
Some minor mdoc cleanup. Partially based on PR# 2959.
1997-03-12 13:22:17 +00:00
Peter Wemm
c0ec1f37ef
Revert $FreeBSD$ to $Id$
1997-02-22 14:40:44 +00:00
Mike Pritchard
7610c94088
Some various mdoc cleanup.
...
Partially Obtained from: NetBSD-bugs mailing list
1997-01-28 05:55:22 +00:00
Mike Pritchard
ca76031b72
Various minor cleanup.
...
Partially Obtained from: NetBSD-bugs
1997-01-19 17:57:15 +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
Wolfram Schneider
af20215665
Sort cross references.
1997-01-13 00:25:51 +00:00
Garrett Wollman
cdb877c33d
Quoth Vern:
...
ftp.sgi.com:sgi/src/routed.tar.Z has a fix that has been cooking for a week
or so and that fixes a problem in the new hash tables for zillions of
interface aliases. The bug was that interfaces that come and go, such
as for SLIP and PPP, would get permanently lost.
Submitted by: Vernon J. Schryver <vjs@mica.denver.sgi.com>
1997-01-06 17:24:50 +00:00
Garrett Wollman
5f3ab5ec26
This commit was generated by cvs2svn to compensate for changes in r21378,
...
which included commits to RCS files with non-trunk default branches.
1997-01-06 17:24:50 +00:00
Andrey A. Chernov
7726a8a928
Merge to eliminate conflict
1997-01-03 08:29:46 +00:00
Garrett Wollman
d005ed5a68
Latest version of routed from Vern Schryver. This one really
...
should fix Andrey's problem.
1997-01-02 16:57:08 +00:00
Andrey A. Chernov
21393d8c5e
FIx coredump with rtquery.
...
It is just quick fix taken from new routed sources,
full new routed importing I leave to wollman
1996-12-21 05:55:55 +00:00
Garrett Wollman
2bd2205c6c
Delete redundant include of <sys/time.h>
1996-12-17 21:12:56 +00:00
Garrett Wollman
b8186907ad
Merge from vendor branch.
1996-12-17 21:11:59 +00:00
Garrett Wollman
337e72d0e5
Latest routed from Vern Schryver. This is supposed to fix
...
Andrey's rtquery problem.
Submitted by: Vernon J. Schryver <vjs@mica.denver.sgi.com>
1996-12-17 21:07:05 +00:00
Garrett Wollman
a105b819c8
This commit was generated by cvs2svn to compensate for changes in r20606,
...
which included commits to RCS files with non-trunk default branches.
1996-12-17 21:07:05 +00:00
Garrett Wollman
a30febec0e
Merge from vendor branch.
1996-12-11 21:04:17 +00:00
Garrett Wollman
71965874ee
New version of Vern's routed. This includes more byte-order fixes,
...
some MD5 fixes, better tracing, configurable redirect processing,
and a fix to split-horizon/poisoned-reverse treatment.
Submitted by: Vernon J. Schryver <vjs@mica.denver.sgi.com>
1996-12-11 20:59:33 +00:00
Garrett Wollman
fda109d2ad
This commit was generated by cvs2svn to compensate for changes in r20339,
...
which included commits to RCS files with non-trunk default branches.
1996-12-11 20:59:33 +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
Garrett Wollman
1608c04fbd
For some reason the merge of this file didn't get committed properly.
...
Who has the conical hat?
Make things compile again.
1996-11-20 15:23:40 +00:00
Garrett Wollman
52ad60210f
Merge from vendor branch and use system MD5 library.
1996-11-19 20:42:43 +00:00
Garrett Wollman
c9c588ef9b
Last import was botched. Fix it.
1996-11-19 20:26:54 +00:00
Garrett Wollman
3399732029
This commit was generated by cvs2svn to compensate for changes in r19882,
...
which included commits to RCS files with non-trunk default branches.
1996-11-19 20:26:54 +00:00
Garrett Wollman
d5b718b3ee
Latest version of SGI routed courtesy of Vern Schryver. This version
...
adds the capability to use MD5 authentication as defined in the latest
documents.
Submitted by: Vernon J. Schryver <vjs@mica.denver.sgi.com>
1996-11-19 20:23:47 +00:00
Garrett Wollman
47fe01ae9c
This commit was generated by cvs2svn to compensate for changes in r19880,
...
which included commits to RCS files with non-trunk default branches.
1996-11-19 20:23:47 +00:00
Garrett Wollman
c0062f4a2d
Change location of trace files and disable remote trace file change
...
feature.
1996-09-16 17:06:30 +00:00
Garrett Wollman
50d2cb3ed7
Layer on FreeBSD local changes from old routed.
1996-09-16 17:04:22 +00:00
Garrett Wollman
7b6ab19dde
Virgin import of new BSD/SGI routed. This update contains a number
...
of important bug fixes.
Obtained from: Vernon J. Schryver <vjs@mica.denver.sgi.com>
1996-09-16 16:51:32 +00:00
Garrett Wollman
a4ce56bd89
This commit was generated by cvs2svn to compensate for changes in r18316,
...
which included commits to RCS files with non-trunk default branches.
1996-09-16 16:51:32 +00:00