mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-04-19 13:29:09 +00:00
fix nix error cos upgrade
This commit is contained in:
parent
d062b1b66a
commit
e604dec01c
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ where
|
|||
|
||||
// Process received file descriptors
|
||||
let mut sockets = Vec::<T>::with_capacity(number as usize);
|
||||
for cmsg in msg.cmsgs() {
|
||||
for cmsg in msg.cmsgs()? {
|
||||
if let ControlMessageOwned::ScmRights(fds) = cmsg {
|
||||
for fd in fds {
|
||||
if fd < 0 {
|
||||
|
|
Loading…
Add table
Reference in a new issue