Skip to content

Commit

Permalink
615: conn TCP status
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Nov 8, 2015
1 parent f7e0082 commit 5808a06
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions psutil/_psutil_openbsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -912,10 +912,7 @@ psutil_proc_connections(PyObject *self, PyObject *args) {
// fill status
state = PSUTIL_CONN_NONE;
if (kif->so_type == SOCK_STREAM) {
/* need to read so_pcb
state = kif->so_state;
printf("state=%d\n",state);
*/
state = kif->t_state;
}

// construct python tuple/list
Expand Down

0 comments on commit 5808a06

Please sign in to comment.