Skip to content

Commit e509830

Browse files
committed
Remove unused error variants
1 parent 217f777 commit e509830

File tree

1 file changed

+0
-6
lines changed
  • talpid-core/src/split_tunnel/macos

1 file changed

+0
-6
lines changed

talpid-core/src/split_tunnel/macos/tun.rs

-6
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ pub enum Error {
5151
/// Failed to begin capture on split tunnel utun
5252
#[error("Failed to begin capture on split tunnel utun")]
5353
CaptureSplitTunnelDevice(#[source] pcap::Error),
54-
/// Failed to set direction on capture
55-
#[error("Failed to set direction on pcap")]
56-
SetDirection(#[source] pcap::Error),
5754
/// Failed to enable nonblocking I/O
5855
#[error("Failed to enable nonblocking I/O")]
5956
EnableNonblock(#[source] pcap::Error),
@@ -72,9 +69,6 @@ pub enum Error {
7269
/// Failed to configure BPF device for default interface
7370
#[error("Failed to configure BPF device for default interface")]
7471
ConfigDefaultBpf(#[source] bpf::Error),
75-
/// Failed to retrieve BPF buffer size
76-
#[error("Failed to retrieve BPF buffer size")]
77-
GetBpfBufferSize(#[source] bpf::Error),
7872
/// Failed to create BPF device for VPN tunnel
7973
#[error("Failed to create BPF device for VPN tunnel")]
8074
CreateVpnBpf(#[source] bpf::Error),

0 commit comments

Comments
 (0)