Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More lenient ipv6 auto-update #266

Merged
merged 19 commits into from
Oct 14, 2024
Prev Previous commit
Next Next commit
fmt
  • Loading branch information
AgeManning committed Oct 8, 2024
commit df656b79f476391bb2c761ea30ce52cd9d99377e
14 changes: 11 additions & 3 deletions src/service/test.rs
Original file line number Diff line number Diff line change
@@ -18,9 +18,17 @@ use crate::{
use enr::CombinedKey;
use parking_lot::RwLock;
use rand;
use std::{collections::HashMap, net::Ipv4Addr, net::Ipv6Addr, sync::Arc, time::Duration};
use tokio::sync::mpsc::{Sender, UnboundedReceiver};
use tokio::sync::{mpsc, oneshot};
use std::{
collections::HashMap,
net::{Ipv4Addr, Ipv6Addr},
sync::Arc,
time::Duration,
};
use tokio::sync::{
mpsc,
mpsc::{Sender, UnboundedReceiver},
oneshot,
};

/// Default UDP port number to use for tests requiring UDP exposure
pub const DEFAULT_UDP_PORT: u16 = 0;