diff --git a/example/main/example_backend.c b/example/main/example_backend.c index ea811b18..17689d60 100644 --- a/example/main/example_backend.c +++ b/example/main/example_backend.c @@ -928,12 +928,15 @@ example_reset(clicon_handle h, cxobj *xt = NULL; int ret; cbuf *cbret = NULL; + yang_stmt *yspec; if (!_reset) goto ok; /* Note not enabled by default */ + + yspec = clicon_dbspec_yang(h); if (clixon_xml_parse_string("" "loex:loopback" - "", YB_NONE, NULL, &xt, NULL) < 0) + "", YB_MODULE, yspec, &xt, NULL) < 0) goto done; /* Replace parent w first child */ if (xml_rootchild(xt, 0, &xt) < 0)