mirror of
https://github.com/threefoldtech/mycelium.git
synced 2026-06-07 00:01:40 +00:00
further ipv6 integration + filter for packages not in 200::/7 range
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user