Skip to content

Commit 95740f2

Browse files
authored
Improve TUN OS support error message (#278)
1 parent bad337b commit 95740f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mitmproxy-rs/src/server/tun.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ impl TunInterface {
4444
}
4545

4646
#[cfg(not(target_os = "linux"))]
47-
Some(String::from("OS not supported for TUN proxy mode"))
47+
Some(String::from("TUN proxy mode is only supported on Linux"))
4848
}
4949

5050
pub fn __repr__(&self) -> String {

0 commit comments

Comments
 (0)