Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ibigbug committed Sep 23, 2024
1 parent a13b548 commit aea762a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions clash_lib/src/proxy/utils/platform/win.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,10 @@ pub(crate) fn must_bind_socket_on_interface(
} else {
None
}
} else if addr.ip().is_ipv6() {
Some(addr.ip())
} else {
if addr.ip().is_ipv6() {
Some(addr.ip())
} else {
None
}
None
}
}),
None => None,
Expand Down

0 comments on commit aea762a

Please sign in to comment.