Skip to content

Commit

Permalink
socket_info: return socket list only for known protocols
Browse files Browse the repository at this point in the history
(cherry picked from commit bf3ae34)
  • Loading branch information
razvancrainea committed Apr 29, 2015
1 parent 7ebd184 commit f187657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion socket_info.h
Expand Up @@ -359,7 +359,7 @@ static inline char* socket2str(struct socket_info *sock, char *s, int* len, int


#define get_sock_info_list(_proto) \
&protos[_proto].listeners
((_proto>=PROTO_FIRST && _proto<PROTO_LAST)?&protos[_proto].listeners:0)


int probe_max_sock_buff( int sock, int buff_choice, int buff_max,
Expand Down

0 comments on commit f187657

Please sign in to comment.