further ipv6 integration + filter for packages not in 200::/7 range

This commit is contained in:
Maxime Van Hees
2023-05-23 11:26:00 +00:00
parent be92fc9d6f
commit 0243375eba
3 changed files with 15 additions and 8 deletions
+1
View File
@@ -37,6 +37,7 @@ pub async fn retrieve_tun_link_index(handle: Handle) -> Result<u32, Box<dyn std:
}
// Add address to TUN interface
// this automatically creates a routing entry (for the /64 prefix)
pub async fn add_address(handle: Handle, addr: Ipv6Addr, link_index: u32) -> Result<u32, Box<dyn std::error::Error>> {
// add address to tun interface
handle