main
parent
1226016150
commit
6c5dff4685
|
@ -389,6 +389,9 @@ mod test {
|
||||||
|
|
||||||
for (input, expected) in vec! [
|
for (input, expected) in vec! [
|
||||||
(("127.0.0.1:4000", "bogus_server", 22), 51168),
|
(("127.0.0.1:4000", "bogus_server", 22), 51168),
|
||||||
|
// The relay address is explicitly excluded from the eph port
|
||||||
|
// computation in case I want to support connecting to a server
|
||||||
|
// across multiple relays
|
||||||
(("127.0.0.1:30380", "bogus_server", 22), 51168),
|
(("127.0.0.1:30380", "bogus_server", 22), 51168),
|
||||||
(("127.0.0.1:4000", "real_server", 22), 53873),
|
(("127.0.0.1:4000", "real_server", 22), 53873),
|
||||||
(("127.0.0.1:4000", "bogus_server", 5900), 53844),
|
(("127.0.0.1:4000", "bogus_server", 5900), 53844),
|
||||||
|
|
Loading…
Reference in New Issue