Fixed: unified netconf input: wrong yang-bind
This commit is contained in:
parent
e7c9f3d075
commit
5cb41c8d8a
2 changed files with 2 additions and 2 deletions
|
|
@ -603,7 +603,7 @@ netconf_input_cb(int s,
|
|||
break;
|
||||
}
|
||||
clicon_debug(CLIXON_DBG_MSG, "Recv ext: %s", cbuf_get(cbmsg));
|
||||
if ((ret = netconf_input_frame2(cbmsg, Y_RPC, yspec, &xtop, &xerr)) < 0)
|
||||
if ((ret = netconf_input_frame2(cbmsg, YB_RPC, yspec, &xtop, &xerr)) < 0)
|
||||
goto done;
|
||||
cbuf_reset(cbmsg);
|
||||
if (ret == 0){ /* Invalid frame, parse error, etc */
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
goto done;
|
||||
if (!eom)
|
||||
break;
|
||||
if ((ret = netconf_input_frame2(cbmsg, Y_RPC, yspec, &cbret, &xtop)) < 0)
|
||||
if ((ret = netconf_input_frame2(cbmsg, YB_RPC, yspec, &cbret, &xtop)) < 0)
|
||||
goto done;
|
||||
// process incoming packet xtop
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue