mirror of
https://github.com/fatedier/frp.git
synced 2026-04-05 00:29:16 +08:00
Merge pull request #184 from fatedier/fatedier/udp
udp: fix privilege_mode not success for udp type
This commit is contained in:
@@ -199,7 +199,7 @@ func LoadConf(confFile string) (err error) {
|
||||
proxyClient.PrivilegeToken = PrivilegeToken
|
||||
}
|
||||
|
||||
if proxyClient.Type == "tcp" {
|
||||
if proxyClient.Type == "tcp" || proxyClient.Type == "udp" {
|
||||
// remote_port
|
||||
tmpStr, ok = section["remote_port"]
|
||||
if ok {
|
||||
|
||||
Reference in New Issue
Block a user