Make sdp compilable after r315662.
This commit is contained in:
parent
bf40d2ca68
commit
817e1ad9d0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=315672
@ -1859,12 +1859,10 @@ sdp_pcblist(SYSCTL_HANDLER_ARGS)
|
||||
xt.xt_inp.inp_lport = ssk->lport;
|
||||
memcpy(&xt.xt_inp.inp_faddr, &ssk->faddr, sizeof(ssk->faddr));
|
||||
xt.xt_inp.inp_fport = ssk->fport;
|
||||
xt.xt_tp.t_state = ssk->state;
|
||||
xt.t_state = ssk->state;
|
||||
if (ssk->socket != NULL)
|
||||
sotoxsocket(ssk->socket, &xt.xt_socket);
|
||||
else
|
||||
bzero(&xt.xt_socket, sizeof xt.xt_socket);
|
||||
xt.xt_socket.xso_protocol = IPPROTO_TCP;
|
||||
sotoxsocket(ssk->socket, &xt.xt_inp.xi_socket);
|
||||
xt.xt_inp.xi_socket.xso_protocol = IPPROTO_TCP;
|
||||
SDP_RUNLOCK(ssk);
|
||||
error = SYSCTL_OUT(req, &xt, sizeof xt);
|
||||
if (error)
|
||||
|
Loading…
Reference in New Issue
Block a user