Commit Graph

29 Commits

Author SHA1 Message Date
Bill Fenner
b9d45cebf4 The interface index space may be sparsely populated (e.g. when an
interface in the middle is if_detach()'d).  Return (and handle)
 ENOENT when the ifmib(4) is accessed for a nonexistent interface.

MFC after: 14 days
2001-10-17 04:12:29 +00:00
Robert Watson
8025ea0a33 o Reduce userland inclusion of kernel headers -- remove unneeded include
of <sys/mbuf.h>.

Reviewed by:	jlemon
2001-09-24 14:43:35 +00:00
Dima Dorfman
f247324df7 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
Ruslan Ermilov
a4c37c816b mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
Ruslan Ermilov
345e52e742 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
Ruslan Ermilov
c73e22c3d4 Set the default manual section for usr.sbin/ to 8. 2001-03-20 18:17:26 +00:00
Sheldon Hearn
f2e366a105 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 14:09:25 +00:00
Peter Wemm
97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Bill Fumerola
3b472ef141 Clarify what the '-r' option does.
PR:		docs/8108
Submitted by:	Matthew Fuller <fullermd@futuresouth.com>
1998-12-03 20:44:45 +00:00
Bruce Evans
6497a56c81 Removed bogus #ifdef INET - <net/if_slvar.h> no longer depends on it. 1998-07-06 20:09:36 +00:00
Philippe Charnier
03690a84cd Hardcode progname in usage string. 1997-10-20 12:41:41 +00:00
Peter Wemm
476602a9d0 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
Wolfram Schneider
bfd34a4a60 Sort cross references. 1997-01-20 00:03:00 +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
Bruce Evans
5020b5df96 Fixed recently-introduced bugs:
- `slstat' with no args dumped core.
- `slstat unit' always failed with a "sysctl linkspecific" error.
- the usage message was nonstandard.

Fixed old bugs:
- missing prototypes, Wformat errors, and other lint.
1996-11-04 17:14:43 +00:00
Bruce Evans
878152249a The interface number hasn't been a _single_ digit since prehistoric times. 1996-11-04 17:13:46 +00:00
Garrett Wollman
cdee44e4cb De-cruftify.
Use the link MIB interface rather than groveling around in kmem.
(No longer works on dead kernels, big deal.)
1996-10-11 18:47:10 +00:00
Bruce Evans
5b963fa12e Fixed DPADD. 1996-09-05 17:16:10 +00:00
Mike Pritchard
1f8be615ce Convert to mdoc format. 1996-08-24 16:34:23 +00:00
Paul Traina
66e5b18f29 Drop privileges if not using standard namelist or kernel file.
Submitted by:	smpatel (Sujal Patel)
1996-05-30 02:20:10 +00:00
Mike Pritchard
4a8d02835c Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
Rodney W. Grimes
709e8f9ae1 Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
Andreas Schulz
9689f8ef27 Change a SLSTAT 1 to SLSTAT 8 . 1994-12-12 00:38:01 +00:00
Jordan K. Hubbard
db85ed15df Some miscellaneous bug fixes inspired by Adam Glass's work. Adam's
work is actually more comprehensive, but I just took what was needed
for now given our compressed time schedules.  Thanks, Adam!
Submitted by:	glass
1994-11-19 13:57:21 +00:00
Gary Palmer
d377a7bd10 Change references from /386bsd' to /kernel' 1994-10-17 06:50:29 +00:00
David Greenman
1cf7789777 slstats for FBSD 2.0. Copied in the repository from 1.1.5, and then applied
patches from John Hay.

Submitted by:	John Hay
1994-10-17 06:05:32 +00:00
Rich Murphey
d51849a38c slstat - report serial line IP statistics: bytes in/out, packets
in/out, errors, compressed, and uncompressed packets in/out.
1994-06-17 06:42:39 +00:00