Feature: add udp-fallback-match option

This commit is contained in:
Dreamacro
2023-01-01 20:12:17 +08:00
parent 2301b909d2
commit a5d54884e0
3 changed files with 16 additions and 4 deletions

View File

@ -104,7 +104,9 @@ func GetGeneral() *config.General {
return general
}
func updateExperimental(c *config.Config) {}
func updateExperimental(c *config.Config) {
tunnel.UDPFallbackMatch.Store(c.Experimental.UDPFallbackMatch)
}
func updateDNS(c *config.DNS) {
if !c.Enable {