version 1.157, 2008/03/27 19:06:52 |
version 1.158, 2008/03/28 12:12:20 |
Line 565 solisten(struct socket *so, int backlog, |
|
Line 565 solisten(struct socket *so, int backlog, |
|
int s, error; |
int s, error; |
|
|
s = splsoftnet(); |
s = splsoftnet(); |
|
if ((so->so_state & (SS_ISCONNECTED | SS_ISCONNECTING | |
|
SS_ISDISCONNECTING)) != 0) |
|
return (EOPNOTSUPP); |
error = (*so->so_proto->pr_usrreq)(so, PRU_LISTEN, NULL, |
error = (*so->so_proto->pr_usrreq)(so, PRU_LISTEN, NULL, |
NULL, NULL, l); |
NULL, NULL, l); |
if (error != 0) { |
if (error != 0) { |