Skip to content

Commit

Permalink
Extend the test showcasing impossibility of dialing self by ip.
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Ermolaev committed Jan 25, 2024
1 parent b8b9391 commit 87dce36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions swarm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2245,6 +2245,8 @@ mod tests {
multiaddr![Ip4([0, 0, 0, 0]), Tcp(rand::random::<u16>())],
multiaddr![Ip4([0, 0, 0, 0]), Tcp(rand::random::<u16>())],
multiaddr![Ip4([0, 0, 0, 0]), Tcp(rand::random::<u16>())],
multiaddr![Ip4([127, 0, 0, 1]), Tcp(rand::random::<u16>())],
multiaddr![Ip6([0, 0, 0, 0, 0, 0, 0, 1]), Tcp(rand::random::<u16>())],
multiaddr![Udp(rand::random::<u16>())],
multiaddr![Udp(rand::random::<u16>())],
multiaddr![Udp(rand::random::<u16>())],
Expand Down

0 comments on commit 87dce36

Please sign in to comment.