return pointer of config

This commit is contained in:
v2ray 2016-08-07 19:07:59 +02:00
parent 60a4e3cc61
commit 86490e884c
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -24,5 +24,5 @@ func (this NoOpAuthenticatorFactory) Create(config internet.AuthenticatorConfig)
type NoOpAuthenticatorConfig struct{}
func init() {
internet.RegisterAuthenticator("none", NoOpAuthenticatorFactory{}, func() interface{} { return NoOpAuthenticatorConfig{} })
internet.RegisterAuthenticator("none", NoOpAuthenticatorFactory{}, func() interface{} { return &NoOpAuthenticatorConfig{} })
}