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 _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"