Allow multiple sub sections for tcp/udp server

This commit is contained in:
Tim David Saxen 2018-11-29 08:55:03 +01:00 committed by GitHub
parent 52170b515c
commit 9e30766caa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -376,7 +376,7 @@ func (ctl *Control) RegisterProxy(pxyMsg *msg.NewProxy, token string) (remoteAdd
return
}
} else {
err = fmt.Errorf("proxy type '%s' only allowed in common section", pxyMsg.ProxyType)
err = fmt.Errorf("proxy type '%s' only allowed with common token", pxyMsg.ProxyType)
return
}
} else {