fix punish

This commit is contained in:
John Smith
2023-07-03 12:20:39 -04:00
parent b7e531f35b
commit cf9d8cf7c2
3 changed files with 6 additions and 5 deletions

View File

@@ -5,8 +5,8 @@ use crate::tests::common::test_veilid_config::*;
pub async fn test_add_get_remove() {
let config = get_config();
let table = ConnectionTable::new(config);
let address_filter = AddressFilter::new(config.clone());
let table = ConnectionTable::new(config, address_filter);
let a1 = ConnectionDescriptor::new_no_local(PeerAddress::new(
SocketAddress::new(Address::IPV4(Ipv4Addr::new(192, 168, 0, 1)), 8080),