handled netconf plugin
This commit is contained in:
parent
e5b625e722
commit
2141b4972a
1 changed files with 3 additions and 1 deletions
|
|
@ -247,7 +247,9 @@ netconf_plugin_callbacks(clicon_handle h,
|
||||||
nreg = deps;
|
nreg = deps;
|
||||||
do {
|
do {
|
||||||
if (strcmp(nreg->nr_tag, xml_name(xn)) == 0){
|
if (strcmp(nreg->nr_tag, xml_name(xn)) == 0){
|
||||||
retval = nreg->nr_callback(h, xn, xret, nreg->nr_arg);
|
if ((retval = nreg->nr_callback(h, xn, xret, nreg->nr_arg)) < 0)
|
||||||
|
goto done;
|
||||||
|
retval = 1; /* handled */
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
nreg = NEXTQ(netconf_reg_t *, nreg);
|
nreg = NEXTQ(netconf_reg_t *, nreg);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue