Browse Source

Enable connmanager only with lowProfile

Signed-off-by: mudler <[email protected]>
mudler 1 year ago
parent
commit
10593eecf3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/vpn/vpn.go

+ 1 - 1
pkg/vpn/vpn.go

@@ -70,7 +70,7 @@ func VPNNetworkService(p ...Option) node.NetworkService {
 
 		var mgr streamManager
 
-		if !c.lowProfile {
+		if c.lowProfile {
 			// Create stream manager for outgoing connections
 			mgr, err = stream.NewConnManager(10, c.MaxStreams)
 			if err != nil {