diff options
| author | Bill Fenner <fenner@FreeBSD.org> | 1999-02-16 19:05:09 +0000 |
|---|---|---|
| committer | Bill Fenner <fenner@FreeBSD.org> | 1999-02-16 19:05:09 +0000 |
| commit | b13864ec1a4ec7e17ffe860486b2e64aa0aef0d9 (patch) | |
| tree | a0257a3d86c718c6891dc494e54ad4ee50b9a602 | |
| parent | 7840630d8041a0deae4b6ad7bec2c6e5835369a6 (diff) | |
Notes
| -rw-r--r-- | usr.bin/netstat/unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/unix.c b/usr.bin/netstat/unix.c index e740df38995d..195588e2c1aa 100644 --- a/usr.bin/netstat/unix.c +++ b/usr.bin/netstat/unix.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)unix.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id: unix.c,v 1.9 1998/07/06 21:01:27 bde Exp $"; + "$Id: unix.c,v 1.10 1998/08/08 08:13:04 phk Exp $"; #endif /* not lint */ /* @@ -78,7 +78,7 @@ unixpr() struct xunpcb *xunp; char mibvar[sizeof "net.local.seqpacket.pcblist"]; - for (type = SOCK_STREAM; type < SOCK_SEQPACKET; type++) { + for (type = SOCK_STREAM; type <= SOCK_SEQPACKET; type++) { sprintf(mibvar, "net.local.%s.pcblist", socktype[type]); len = 0; |
