Skip to content

Commit

Permalink
Connections are redirected, not 'traffic'
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Dec 22, 2022
1 parent 953b6f5 commit 1fa89c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions talpid-core/src/split_tunnel/windows/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ impl SplitTunnel {
});
}

/// Instructs the driver to redirect traffic from sockets bound to 0.0.0.0, ::, or the
/// Instructs the driver to redirect connections for sockets bound to 0.0.0.0, ::, or the
/// tunnel addresses (if any) to the default route.
pub fn set_tunnel_addresses(&mut self, metadata: Option<&TunnelMetadata>) -> Result<(), Error> {
let mut tunnel_ipv4 = None;
Expand Down Expand Up @@ -703,7 +703,7 @@ impl SplitTunnel {
Ok(())
}

/// Instructs the driver to stop redirecting tunnel traffic and INADDR_ANY.
/// Instructs the driver to stop redirecting connections.
pub fn clear_tunnel_addresses(&mut self) -> Result<(), Error> {
self._route_change_callback = None;
self.send_request(Request::RegisterIps(InterfaceAddresses::default()))
Expand Down

0 comments on commit 1fa89c9

Please sign in to comment.