mirror of
https://github.com/fatedier/frp.git
synced 2025-07-27 15:45:39 +00:00
new feature: assign a random port if remote_port is 0 in type tcp and
udp
This commit is contained in:
@@ -91,7 +91,7 @@ func main() {
|
||||
os.Exit(1)
|
||||
}
|
||||
config.ServerCommonCfg.BindAddr = addr[0]
|
||||
config.ServerCommonCfg.BindPort = bindPort
|
||||
config.ServerCommonCfg.BindPort = int(bindPort)
|
||||
}
|
||||
|
||||
if args["-v"] != nil {
|
||||
|
Reference in New Issue
Block a user