Netconf operation attribute namespace check is enforced
This commit is contained in:
parent
2d9d204f69
commit
c97346921b
19 changed files with 86 additions and 73 deletions
|
|
@ -357,6 +357,7 @@ clicon_rpc_edit_config(clicon_handle h,
|
|||
if ((cb = cbuf_new()) == NULL)
|
||||
goto done;
|
||||
cprintf(cb, "<rpc xmlns=\"%s\"", NETCONF_BASE_NAMESPACE);
|
||||
cprintf(cb, " xmlns:%s=\"%s\"", NETCONF_BASE_PREFIX, NETCONF_BASE_NAMESPACE);
|
||||
if ((username = clicon_username_get(h)) != NULL)
|
||||
cprintf(cb, " username=\"%s\"", username);
|
||||
cprintf(cb, "><edit-config><target><%s/></target>", db);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue