mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-22 17:54:52 +00:00
s/sonewconn3/sonewconn/ forgotten by the modifier.
This commit is contained in:
parent
22e5e135e1
commit
18f29213d4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88500
|
@ -246,7 +246,7 @@ lomac_local_connect(struct socket *so, struct sockaddr *nam, struct thread *td)
|
|||
}
|
||||
if (so->so_proto->pr_flags & PR_CONNREQUIRED) {
|
||||
if ((so2->so_options & SO_ACCEPTCONN) == 0 ||
|
||||
(so3 = sonewconn3(so2, 0, td)) == 0) {
|
||||
(so3 = sonewconn(so2, 0)) == 0) {
|
||||
error = ECONNREFUSED;
|
||||
goto bad;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue