Routing table sort of works
This commit is contained in:
parent
9c37706dba
commit
dc6fc6bba2
1 changed files with 1 additions and 0 deletions
|
|
@ -408,6 +408,7 @@ mod tests {
|
||||||
for i in 0..u16::MAX {
|
for i in 0..u16::MAX {
|
||||||
let other_id = random_id_20();
|
let other_id = random_id_20();
|
||||||
let addr = std::net::SocketAddr::V4(SocketAddrV4::new("0.0.0.0".parse().unwrap(), i));
|
let addr = std::net::SocketAddr::V4(SocketAddrV4::new("0.0.0.0".parse().unwrap(), i));
|
||||||
|
rtable.add_node(other_id, addr);
|
||||||
}
|
}
|
||||||
dbg!(rtable);
|
dbg!(rtable);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue