Allow multiple sub sections for tcp/udp server

This commit is contained in:
Tim David Saxen 2018-11-29 09:22:37 +01:00 committed by GitHub
parent b827fbcb5b
commit 2248965b0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -409,7 +409,7 @@ func (ctl *Control) RegisterProxy(pxyMsg *msg.NewProxy, token string) (remoteAdd
}()
}
remoteAddr, err = pxy.Run() // g.GlbServerSubSectionMap[ctl.section].Token
remoteAddr, err = pxy.Run()
if err != nil {
return
}