Browse Source

register shadowsocks client factory

Darien Raymond 9 years ago
parent
commit
cdb0debcb0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      proxy/shadowsocks/init.go

+ 1 - 1
proxy/shadowsocks/init.go

@@ -7,6 +7,6 @@ import (
 
 func init() {
 	// Must happen after config is initialized
-
+	registry.MustRegisterOutboundHandlerCreator(loader.GetType(new(ClientConfig)), new(ClientFactory))
 	registry.MustRegisterInboundHandlerCreator(loader.GetType(new(ServerConfig)), new(ServerFactory))
 }