clixon-config@2024-01-01.yang: Changed semantics of CLICON_VALIDATE_STATE_XML
Minor optimizations
This commit is contained in:
parent
a8773fad82
commit
278def125c
6 changed files with 24 additions and 11 deletions
|
|
@ -1292,7 +1292,9 @@ rpc_callback_call(clixon_handle h,
|
|||
rc = NEXTQ(rpc_callback_t *, rc);
|
||||
} while (rc != ms->ms_rpc_callbacks);
|
||||
/* action reply checked in action_callback_call */
|
||||
if (nr && !xml_rpc_isaction(xe)){
|
||||
if (nr &&
|
||||
clicon_option_bool(h, "CLICON_VALIDATE_STATE_XML") &&
|
||||
!xml_rpc_isaction(xe)){
|
||||
if ((ret = rpc_reply_check(h, name, cbret)) < 0)
|
||||
goto done;
|
||||
if (ret == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue