docs: fix acl documentation (#2027)

The list runs in `BlackList` mode when `[proxy_all]` is read, not
`WhiteList`
This commit is contained in:
shadowsocks69420
2025-10-11 11:29:09 +08:00
committed by GitHub
parent 2fe2b07ae2
commit 16ff8c8bc9

View File

@@ -323,8 +323,8 @@ impl ParsingRules {
///
/// Mode is the default ACL strategy for those addresses that are not in configuration file.
///
/// - `BlackList` - Bypasses / Rejects all addresses except those in `[proxy_list]` or `[white_list]`
/// - `WhiteList` - Proxies / Accepts all addresses except those in `[bypass_list]` or `[black_list]`
/// - `WhiteList` - Bypasses / Rejects all addresses except those in `[proxy_list]` or `[white_list]`
/// - `BlackList` - Proxies / Accepts all addresses except those in `[bypass_list]` or `[black_list]`
///
/// ## Rules
///