mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-03 04:27:39 +03:00
chore(tun): use /126 length in default prefix6
This commit is contained in:
parent
92ed8f5e6a
commit
91406ab0f9
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue