File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3231,7 +3231,6 @@ nc_server_config_create_netconf_client(const struct lyd_node *node)
32313231 goto cleanup ;
32323232 }
32333233
3234- server_opts .ch_clients [server_opts .ch_client_count - 1 ].id = ATOMIC_INC_RELAXED (server_opts .new_client_id );
32353234 server_opts .ch_clients [server_opts .ch_client_count - 1 ].start_with = NC_CH_FIRST_LISTED ;
32363235 server_opts .ch_clients [server_opts .ch_client_count - 1 ].max_attempts = 3 ;
32373236
Original file line number Diff line number Diff line change @@ -633,7 +633,6 @@ struct nc_server_opts {
633633
634634 /* ACCESS unlocked */
635635 ATOMIC_T new_session_id ;
636- ATOMIC_T new_client_id ;
637636
638637#ifdef NC_ENABLED_SSH_TLS
639638 /* ACCESS unlocked - set from env */
Original file line number Diff line number Diff line change @@ -846,7 +846,6 @@ nc_server_init(void)
846846 int r ;
847847
848848 ATOMIC_STORE_RELAXED (server_opts .new_session_id , 1 );
849- ATOMIC_STORE_RELAXED (server_opts .new_client_id , 1 );
850849
851850 if (nc_server_init_rwlock (& server_opts .config_lock )) {
852851 goto error ;
You can’t perform that action at this time.
0 commit comments