1
0
mirror of https://github.com/MetaCubeX/mihomo.git synced 2025-09-20 04:25:59 +08:00

fix: udp dial support ip4p (#1377)

This commit is contained in:
HiMetre
2025-04-11 09:20:58 +08:00
committed by wwqgtxx
parent 8085c68b6d
commit 7a260f7bcf
4 changed files with 41 additions and 24 deletions

View File

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