From 99ffb46638c5596e325d48b7a4bfbf241ad133f1 Mon Sep 17 00:00:00 2001 From: Milinda Brantini Date: Fri, 3 Jan 2025 20:54:27 +0800 Subject: [PATCH] docs: merge inet4_address and inet6_address into address TUN address fields are merged inet4_address and inet6_address are merged into address, inet4_route_address and inet6_route_address are merged into route_address, inet4_route_exclude_address and inet6_route_exclude_address are merged into route_exclude_address. Signed-off-by: Milinda Brantini --- docs/manual/proxy/client.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/docs/manual/proxy/client.md b/docs/manual/proxy/client.md index 1cf5a1ce..6cab573b 100644 --- a/docs/manual/proxy/client.md +++ b/docs/manual/proxy/client.md @@ -113,7 +113,9 @@ flowchart TB "inbounds": [ { "type": "tun", - "inet4_address": "172.19.0.1/30", + "address": [ + "172.19.0.1/30" + ], "auto_route": true, "strict_route": false } @@ -173,8 +175,10 @@ flowchart TB "inbounds": [ { "type": "tun", - "inet4_address": "172.19.0.1/30", - "inet6_address": "fdfe:dcba:9876::1/126", + "address": [ + "172.19.0.1/30", + "fdfe:dcba:9876::1/126" + ], "auto_route": true, "strict_route": false } @@ -251,8 +255,10 @@ flowchart TB "inbounds": [ { "type": "tun", - "inet4_address": "172.19.0.1/30", - "inet6_address": "fdfe:dcba:9876::1/126", + "address": [ + "172.19.0.1/30", + "fdfe:dcba:9876::1/126" + ], "auto_route": true, "strict_route": true } @@ -591,4 +597,4 @@ flowchart TB ] } } - ``` \ No newline at end of file + ```