fix: RESTful API empty tun device name

This commit is contained in:
adlyq
2022-11-03 18:04:22 +08:00
parent 3373b62b02
commit 1b0d09068b
2 changed files with 4 additions and 3 deletions

View File

@ -363,7 +363,7 @@ func ReCreateTun(tunConf *config.Tun, tcpIn chan<- C.ConnContext, udpIn chan<- *
return
}
tunLister, err = sing_tun.New(*tunConf, tcpIn, udpIn)
tunLister, err = sing_tun.New(tunConf, tcpIn, udpIn)
}
func ReCreateRedirToTun(ifaceNames []string) {