Unified netconf input function
First for external use, later internal
This commit is contained in:
parent
04d5f52d90
commit
e7c9f3d075
12 changed files with 534 additions and 32 deletions
|
|
@ -482,7 +482,7 @@ netconf_notification_cb(int s,
|
|||
if (clixon_xml2cbuf(cb, xn, 0, 0, NULL, -1, 0) < 0)
|
||||
goto done;
|
||||
/* Send it to listening client on stdout */
|
||||
if (netconf_output_encap(clicon_option_int(h, "netconf-framing"), cb) < 0){
|
||||
if (netconf_output_encap(clicon_data_int_get(h, NETCONF_FRAMING_TYPE), cb) < 0){
|
||||
goto done;
|
||||
}
|
||||
if (netconf_output(1, cb, "notification") < 0){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue