diff --git a/apps/netconf/netconf_main.c b/apps/netconf/netconf_main.c index 894c6dc8..18ff90ea 100644 --- a/apps/netconf/netconf_main.c +++ b/apps/netconf/netconf_main.c @@ -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 */ diff --git a/lib/src/clixon_netconf_input.c b/lib/src/clixon_netconf_input.c index b7fa233e..9a3fa89f 100644 --- a/lib/src/clixon_netconf_input.c +++ b/lib/src/clixon_netconf_input.c @@ -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 }