mirror of
https://github.com/fatedier/frp.git
synced 2026-04-21 08:29:10 +08:00
udp: fix privilege_mode not success for udp type
This commit is contained in:
@@ -194,7 +194,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