diff options
author | wollman <wollman@FreeBSD.org> | 1997-09-25 00:37:32 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1997-09-25 00:37:32 +0000 |
commit | 92277fa474d464011e3bfb7177f8a1c51d582404 (patch) | |
tree | c575e0d5e7857e59dc91a205ecd44cc0af84cbf2 /usr.bin/systat/cmdtab.c | |
parent | 6c4e9fc61332696898bfd76840cc344e5d8f7b95 (diff) | |
download | FreeBSD-src-92277fa474d464011e3bfb7177f8a1c51d582404.zip FreeBSD-src-92277fa474d464011e3bfb7177f8a1c51d582404.tar.gz |
Emboldened by the success of yesterday's ICMP statistics display,
I've now added one that does IP (and also UDP) statistics.
Diffstat (limited to 'usr.bin/systat/cmdtab.c')
-rw-r--r-- | usr.bin/systat/cmdtab.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/systat/cmdtab.c b/usr.bin/systat/cmdtab.c index c78587a..d2a2884 100644 --- a/usr.bin/systat/cmdtab.c +++ b/usr.bin/systat/cmdtab.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)cmdtab.c 8.1 (Berkeley) 6/6/93"; */ static const char rcsid[] = - "$Id$"; + "$Id: cmdtab.c,v 1.2 1997/09/24 02:43:37 wollman Exp $"; #endif /* not lint */ #include "systat.h" @@ -65,6 +65,9 @@ struct cmdtab cmdtab[] = { { "icmp", showicmp, fetchicmp, labelicmp, initicmp, openicmp, closeicmp, cmdmode, reseticmp, CF_LOADAV }, + { "ip", showip, fetchip, labelip, + initip, openip, closeip, cmdmode, + resetip, CF_LOADAV }, { 0 } }; struct cmdtab *curcmd = &cmdtab[0]; |