Date: Sun, 12 Nov 2006 19:03:39 +0000 (UTC) From: Giorgos Keramidas <keramida@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/sockstat sockstat.c Message-ID: <200611121903.kACJ3dvi067541@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
keramida 2006-11-12 19:03:39 UTC FreeBSD src repository (doc committer) Modified files: usr.bin/sockstat sockstat.c Log: In revision 1.14 I broke the -4 and -6 options of sockstat(1). Using either one of the two would result in an empty protos[] array, and no sockets were actually listed: % sockstat -4 USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS % sockstat -6 USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS % Fix this bug by tweaking appropriately the logic of handling opt_4, opt_6, opt_u and protos_defined. Submitted by: des Pointy hat: keramida Revision Changes Path 1.15 +5 -10 src/usr.bin/sockstat/sockstat.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611121903.kACJ3dvi067541>