Commit Graph

17 Commits

Author SHA1 Message Date
simonb 828483a73e Remove extern variables and functions now declared in dkstats.h.
While here, remove 77 (!) unneed #includes.
2000-12-01 02:19:43 +00:00
ad fc3915475d - Add `boot', `run', `time' and `zero' commands to all IP displays. These work
as in the `vmstat' display mode. The default mode is now `time', not `boot'.
- ANSIfy.
- s@kre\(@vmstat\(@.
- __RCSID() police.
- Tweak inet.icmp display visual a little.
2000-07-05 11:03:20 +00:00
jdc d6d7f0531f Fix arguments to *printw(). 2000-04-27 00:30:51 +00:00
itojun 7b5dfc58ad support IPv6. commands under "netstat" are IPv6 ready.
IPv6 is supported by filters (":ignore ssh") as well.
TODO: do something about line truncation?
TODO: inet6.icmp6?  ":help" will not fit into single line...
2000-01-05 11:59:12 +00:00
itojun 5784d552dd avoid null pointer access on ":show". 2000-01-05 11:48:21 +00:00
itojun 0b66a621f9 bring in latter half of PR 9080 (host table allocation error check). 2000-01-04 15:12:42 +00:00
tron a3045c188e Add missing memory check in port table handling. Patch based on
PR bin/9080 by Jun-ichiro itojun Hagino
1999-12-31 12:58:12 +00:00
jwise be9a446256 G/C function used in old command parsing 1999-12-20 04:06:25 +00:00
jwise 4c0fbd4c92 Two things:
1.) fix a bug which caused coredumps when starting with no mode arguments
  2.) move to table-lookup for mode-specific command parsing as well.
      all command matching is now table-driven.
1999-12-20 03:45:01 +00:00
mrg 47abaab886 - KNF
- use snprintf
- don't overwrite the keyboard buffer (and make this sized on
  the window size).
1998-07-12 05:59:00 +00:00
kleink 7fd3999c5e No need to include <sys/socketvar.h>. 1998-04-02 11:18:25 +00:00
lukem 9ccb9cd874 fix .Nm usage, deprecate register, getopt returns -1 not EOF, s/[br]*/[ms]*/ 1997-10-19 23:36:20 +00:00
mrg 5941399374 - some KNF.
- use __RCSID().
- WARNS=1
1997-07-21 07:04:56 +00:00
mycroft c05dec805f Use inet_aton(), not inet_addr(). 1995-05-21 17:14:38 +00:00
cgd 5cac5e9c7c various includes, casts, and cleanups... 1995-04-29 05:54:42 +00:00
jtc 2f3cb7ae7d Changed to conform to NetBSD's new RCS Id convention. 1995-01-20 08:51:48 +00:00
jtc 12749a2a84 imported from 44lite 1995-01-20 08:30:50 +00:00