@@ -301,7 +301,7 @@ static char* get_proto_name(unsigned short proto)
/* returns 0 if support for the protocol is not compiled or if proto is
invalid */
-static struct socket_info** get_sock_info_list(unsigned short proto)
+struct socket_info** get_sock_info_list(unsigned short proto)
{
switch(proto){
@@ -88,7 +88,7 @@ struct socket_info* grep_sock_info_by_port(unsigned short port,
struct socket_info* find_si(struct ip_addr* ip, unsigned short port,
unsigned short proto);
-
+struct socket_info** get_sock_info_list(unsigned short proto);
/* helper function:
* returns next protocol, if the last one is reached return 0