Skip to content
Snippets Groups Projects
Unverified Commit fb7b1800 authored by Mr-Spade's avatar Mr-Spade Committed by GitHub
Browse files

fix: linux DEFAULT_BYPASS (#503)

parent ff573bf3
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ pub struct Sysopt { ...@@ -25,7 +25,7 @@ pub struct Sysopt {
#[cfg(target_os = "windows")] #[cfg(target_os = "windows")]
static DEFAULT_BYPASS: &str = "localhost;127.*;192.168.*;<local>"; static DEFAULT_BYPASS: &str = "localhost;127.*;192.168.*;<local>";
#[cfg(target_os = "linux")] #[cfg(target_os = "linux")]
static DEFAULT_BYPASS: &str = "localhost,127.0.0.1/8,::1"; static DEFAULT_BYPASS: &str = "localhost,127.0.0.1,::1";
#[cfg(target_os = "macos")] #[cfg(target_os = "macos")]
static DEFAULT_BYPASS: &str = "127.0.0.1,localhost,<local>"; static DEFAULT_BYPASS: &str = "127.0.0.1,localhost,<local>";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment