mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
docs: fix acl documentation (#2027)
The list runs in `BlackList` mode when `[proxy_all]` is read, not `WhiteList`
This commit is contained in:
@@ -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
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user