feat: Experimental supports dialer IP4P address convert

form https://github.com/heiher/natmap/wiki/faq
This commit is contained in:
xishang0128
2024-03-09 18:40:19 +08:00
parent feedc9ec66
commit e0248faebd
3 changed files with 30 additions and 1 deletions

View File

@@ -197,6 +197,7 @@ func updateExperimental(c *config.Config) {
if c.Experimental.QUICGoDisableECN {
_ = os.Setenv("QUIC_GO_DISABLE_ECN", strconv.FormatBool(true))
}
dialer.GetIP4PEnable(c.Experimental.IP4PEnable)
}
func updateNTP(c *config.NTP) {