From 91406ab0f9c4c004dc9cc3ecaefc8defbba6db46 Mon Sep 17 00:00:00 2001 From: Haruue Date: Tue, 19 Mar 2024 20:34:42 +0800 Subject: [PATCH] chore(tun): use /126 length in default prefix6 --- app/cmd/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cmd/client.go b/app/cmd/client.go index dca5ab0..755032e 100644 --- a/app/cmd/client.go +++ b/app/cmd/client.go @@ -692,7 +692,7 @@ func clientTUN(config tunConfig, c client.Client) error { return configError{Field: "prefix4", Err: err} } if config.Prefix6 == "" { - config.Prefix6 = "2001::ffff:ffff:ffff:fff0/127" + config.Prefix6 = "2001::ffff:ffff:ffff:fff1/126" } prefix6, err := netip.ParsePrefix(config.Prefix6) if err != nil {