- if (ssh_connections > 0) {
- rc = create_ssh_listen_endpoints(netconf_node, ssh_connections);
- if(rc != NTS_ERR_OK) {
- log_error("could not create %d SSH Listen endpoints on the NETCONF Server\n", ssh_connections);
- return NTS_ERR_FAILED;
- }
+ rc = create_ssh_listen_endpoints(netconf_node, ssh_connections);
+ if(rc != NTS_ERR_OK) {
+ log_error("could not create %d SSH Listen endpoints on the NETCONF Server\n", ssh_connections);
+ return NTS_ERR_FAILED;