File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -340,8 +340,6 @@ impl NymClient {
340
340
}
341
341
342
342
pub fn start ( & mut self ) {
343
- let vpn_mode = true ;
344
-
345
343
info ! ( "Starting nym client" ) ;
346
344
// channels for inter-component communication
347
345
// TODO: make the channels be internally created by the relevant components
@@ -391,7 +389,7 @@ impl NymClient {
391
389
sphinx_message_sender. clone ( ) ,
392
390
) ;
393
391
394
- if vpn_mode {
392
+ if ! self . config . get_base ( ) . get_vpn_mode ( ) {
395
393
self . start_cover_traffic_stream ( shared_topology_accessor, sphinx_message_sender) ;
396
394
}
397
395
Original file line number Diff line number Diff line change @@ -340,7 +340,9 @@ impl NymClient {
340
340
input_receiver,
341
341
sphinx_message_sender. clone ( ) ,
342
342
) ;
343
- self . start_cover_traffic_stream ( shared_topology_accessor, sphinx_message_sender) ;
343
+ if !self . config . get_base ( ) . get_vpn_mode ( ) {
344
+ self . start_cover_traffic_stream ( shared_topology_accessor, sphinx_message_sender) ;
345
+ }
344
346
self . start_socks5_listener ( received_buffer_request_sender, input_sender) ;
345
347
346
348
info ! ( "Client startup finished!" ) ;
You can’t perform that action at this time.
0 commit comments