Skip to content

Commit

Permalink
Set windows tunnel type to "Mycelium"
Browse files Browse the repository at this point in the history
Signed-off-by: Lee Smet <[email protected]>
  • Loading branch information
LeeSmet committed Feb 15, 2024
1 parent 8468a4f commit f81eb06
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tun/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ use crate::{crypto::PacketBuffer, subnet::Subnet};
const LINK_MTU: usize = 1400;

/// Type of the tunnel used, specified when creating the tunnel.
// TODO: verify if this is correct.
const WINDOWS_TUNNEL_TYPE: &str = "Wintun";
const WINDOWS_TUNNEL_TYPE: &str = "Mycelium";

pub async fn new(
name: &str,
Expand Down

0 comments on commit f81eb06

Please sign in to comment.