Giorgos Keramidas
d2d77d2aee
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
2006-11-12 19:03:39 +00:00
..
2005-10-24 22:32:19 +00:00
2005-01-18 13:43:56 +00:00
2005-05-21 09:55:10 +00:00
2005-08-18 08:18:02 +00:00
2004-09-24 22:10:34 +00:00
2006-10-25 21:23:20 +00:00
2005-01-25 22:24:04 +00:00
2006-03-16 17:21:52 +00:00
2005-01-17 07:44:44 +00:00
2005-12-07 19:41:58 +00:00
2005-05-21 09:55:10 +00:00
2005-11-18 12:08:31 +00:00
2005-05-31 22:16:49 +00:00
2004-12-21 08:47:35 +00:00
2005-05-21 09:55:10 +00:00
2005-05-21 09:55:10 +00:00
2006-11-07 14:35:34 +00:00
2005-02-22 23:29:54 +00:00
2005-12-05 14:22:12 +00:00
2003-10-31 06:22:03 +00:00
2005-01-25 22:32:48 +00:00
2006-03-17 18:54:44 +00:00
2006-09-25 15:06:24 +00:00
2005-01-17 07:44:44 +00:00
2005-11-18 10:36:29 +00:00
2006-07-18 07:16:25 +00:00
2005-02-13 22:25:33 +00:00
2005-05-21 09:55:10 +00:00
2005-01-17 07:44:44 +00:00
2006-09-19 22:11:43 +00:00
2005-01-25 22:32:48 +00:00
2005-10-14 15:50:22 +00:00
2005-11-18 10:36:29 +00:00
2005-01-25 22:32:48 +00:00
2006-03-14 03:53:50 +00:00
2006-07-18 07:29:42 +00:00
2005-01-18 13:43:56 +00:00
2005-07-25 14:44:11 +00:00
2005-05-21 09:55:10 +00:00
2006-09-29 15:20:48 +00:00
2006-01-11 08:02:16 +00:00
2006-04-21 09:39:51 +00:00
2006-01-28 17:58:22 +00:00
2006-07-25 22:20:05 +00:00
2005-07-18 22:18:16 +00:00
2006-10-13 16:22:25 +00:00
2006-11-10 22:05:41 +00:00
2006-09-29 15:20:48 +00:00
2005-07-31 03:30:48 +00:00
2006-10-08 10:31:44 +00:00
2006-03-04 16:13:16 +00:00
2005-01-27 14:52:47 +00:00
2004-08-02 11:15:01 +00:00
2005-05-21 09:55:10 +00:00
2006-01-09 20:42:19 +00:00
2005-01-26 15:17:25 +00:00
2006-07-27 14:20:14 +00:00
2006-03-25 01:14:20 +00:00
2005-06-30 11:56:31 +00:00
2005-02-18 21:53:05 +00:00
2006-09-30 17:27:50 +00:00
2005-02-13 22:25:33 +00:00
2006-08-23 12:12:56 +00:00
2005-01-17 07:44:44 +00:00
2005-02-09 18:07:17 +00:00
2006-08-09 19:12:10 +00:00
2005-07-25 14:44:11 +00:00
2006-09-26 22:28:12 +00:00
2006-09-13 05:06:12 +00:00
2004-07-02 22:22:35 +00:00
2006-05-15 08:20:38 +00:00
2005-02-13 22:25:33 +00:00
2006-11-06 15:58:35 +00:00
2006-09-18 13:49:57 +00:00
2004-07-03 00:24:45 +00:00
2004-02-04 11:59:08 +00:00
2005-01-17 07:44:44 +00:00
2006-11-06 15:17:50 +00:00
2006-01-12 22:32:07 +00:00
2006-10-20 04:31:01 +00:00
2005-02-13 22:25:33 +00:00
2005-05-21 09:55:10 +00:00
2004-06-29 21:13:15 +00:00
2006-08-30 08:20:34 +00:00
2006-08-20 15:52:17 +00:00
2006-03-18 21:37:05 +00:00
2005-01-17 07:44:44 +00:00
2005-11-01 19:36:17 +00:00
2006-09-29 15:20:48 +00:00
2005-02-13 22:25:33 +00:00
2005-10-09 04:45:41 +00:00
2006-09-29 15:20:48 +00:00
2006-09-29 15:20:48 +00:00
2004-03-06 23:36:41 +00:00
2005-01-25 14:22:20 +00:00
2006-07-18 10:19:46 +00:00
2006-10-25 09:40:07 +00:00
2005-01-24 20:06:16 +00:00
2005-01-28 16:08:11 +00:00
2006-01-05 10:19:42 +00:00
2006-10-09 19:37:26 +00:00
2005-12-05 14:22:12 +00:00
2005-05-21 09:55:10 +00:00
2004-07-02 22:22:35 +00:00
2006-08-28 08:27:02 +00:00
2005-01-18 13:43:56 +00:00
2005-01-18 13:43:56 +00:00
2005-05-16 09:32:41 +00:00
2004-03-14 05:51:20 +00:00
2006-09-29 15:20:48 +00:00
2006-09-29 15:20:48 +00:00
2005-01-17 17:45:38 +00:00
2005-11-18 10:36:29 +00:00
2005-02-07 08:44:34 +00:00
2005-10-23 01:37:25 +00:00
2004-07-02 22:22:35 +00:00
2006-11-08 15:15:05 +00:00
2005-01-17 07:44:44 +00:00
2006-03-17 18:54:44 +00:00
2004-07-11 17:37:33 +00:00
2005-05-21 09:55:10 +00:00
2005-04-09 14:31:41 +00:00
2005-01-17 07:44:44 +00:00
2005-07-25 14:44:11 +00:00
2005-07-25 14:44:11 +00:00
2004-11-03 18:01:21 +00:00
2004-11-03 18:01:21 +00:00
2006-03-17 18:54:44 +00:00
2006-09-12 05:08:36 +00:00
2005-05-21 09:55:10 +00:00
2006-08-20 04:25:20 +00:00
2005-10-26 17:37:54 +00:00
2005-01-17 07:44:44 +00:00
2005-08-05 08:18:00 +00:00
2006-10-21 23:57:38 +00:00
2005-05-21 09:55:10 +00:00
2006-07-30 07:41:28 +00:00
2005-11-13 21:03:56 +00:00
2006-05-17 23:18:17 +00:00
2006-07-27 13:47:02 +00:00
2006-10-20 04:31:01 +00:00
2005-07-14 20:29:08 +00:00
2005-12-04 18:25:26 +00:00
2005-09-02 14:58:26 +00:00
2005-05-21 09:55:10 +00:00
2005-05-21 09:55:10 +00:00
2005-08-07 11:48:44 +00:00
2004-07-03 00:24:45 +00:00
2006-05-27 19:32:28 +00:00
2005-01-18 13:43:56 +00:00
2005-05-21 09:55:10 +00:00
2005-05-04 15:05:46 +00:00
2006-11-12 19:03:39 +00:00
2006-09-29 15:20:48 +00:00
2005-06-14 11:50:53 +00:00
2006-10-24 17:41:28 +00:00
2006-10-12 10:54:34 +00:00
2005-01-17 07:44:44 +00:00
2006-10-21 18:05:06 +00:00
2005-03-11 14:17:12 +00:00
2006-11-02 04:16:15 +00:00
2005-02-13 22:25:33 +00:00
2005-01-17 07:44:44 +00:00
2006-07-31 13:29:36 +00:00
2006-09-28 21:22:21 +00:00
2006-09-29 15:20:48 +00:00
2006-09-07 19:48:52 +00:00
2006-11-07 10:03:10 +00:00
2006-01-31 02:21:18 +00:00
2006-10-12 21:10:55 +00:00
2006-10-13 16:13:45 +00:00
2006-09-29 15:20:48 +00:00
2006-09-29 15:20:48 +00:00
2005-05-29 15:49:53 +00:00
2005-05-29 15:47:31 +00:00
2005-02-13 22:25:33 +00:00
2005-05-21 09:55:10 +00:00
2005-01-18 13:43:56 +00:00
2006-10-13 16:22:25 +00:00
2005-05-21 09:55:10 +00:00
2005-01-17 07:44:44 +00:00
2005-02-13 22:25:33 +00:00
2005-01-28 16:08:11 +00:00
2005-01-18 13:43:56 +00:00
2004-12-21 08:47:35 +00:00
2005-07-14 20:29:08 +00:00
2005-09-07 07:49:21 +00:00
2005-06-10 06:12:53 +00:00
2006-08-29 18:11:20 +00:00
2004-10-18 17:16:01 +00:00
2005-02-13 22:25:33 +00:00
2006-11-02 19:53:57 +00:00
2006-05-11 17:25:36 +00:00
2006-02-21 13:01:00 +00:00
2005-02-26 04:14:20 +00:00
2005-06-14 11:50:53 +00:00
2005-04-09 14:31:41 +00:00
2005-02-10 16:04:22 +00:00
2006-02-21 13:01:00 +00:00
2006-09-29 15:20:48 +00:00
2005-08-25 14:09:35 +00:00
2005-05-21 09:55:10 +00:00
2006-09-29 15:20:48 +00:00
2006-09-29 15:20:48 +00:00
2006-09-21 02:05:38 +00:00
2005-05-21 10:14:11 +00:00
2005-01-18 13:43:56 +00:00
2005-05-21 09:55:10 +00:00
2005-05-21 09:55:10 +00:00
2004-07-02 22:22:35 +00:00
2006-08-22 03:22:17 +00:00