Code Review
/
sim
/
o1-interface.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bugfix for SIM-64.
[sim/o1-interface.git]
/
ntsimulator
/
ntsim-ng
/
core
/
nc_config.c
diff --git
a/ntsimulator/ntsim-ng/core/nc_config.c
b/ntsimulator/ntsim-ng/core/nc_config.c
index
4357790
..
789f1e7
100644
(file)
--- a/
ntsimulator/ntsim-ng/core/nc_config.c
+++ b/
ntsimulator/ntsim-ng/core/nc_config.c
@@
-603,7
+603,7
@@
static int create_tls_listen_endpoints(struct lyd_node *netconf_node, int tls_co
}
sprintf(xpath, "/ietf-netconf-server:netconf-server/listen/endpoint[name='%s']/tls/tls-server-parameters/client-authentication/cert-maps/cert-to-name[id='1']/name", endpoint_name);
}
sprintf(xpath, "/ietf-netconf-server:netconf-server/listen/endpoint[name='%s']/tls/tls-server-parameters/client-authentication/cert-maps/cert-to-name[id='1']/name", endpoint_name);
- rcl = lyd_new_path(netconf_node, 0, xpath, "netconf
-tls
", 0, LYD_PATH_OPT_NOPARENTRET);
+ rcl = lyd_new_path(netconf_node, 0, xpath, "netconf", 0, LYD_PATH_OPT_NOPARENTRET);
if(rcl == 0) {
log_error("could not created yang path\n");
return NTS_ERR_FAILED;
if(rcl == 0) {
log_error("could not created yang path\n");
return NTS_ERR_FAILED;