Removed obsolete config yang handler

Added base netconf as default namespace in canonical nsctx
This commit is contained in:
Olof hagsand 2019-11-16 16:49:40 +01:00
parent 52629d7b35
commit d0e97ee338
8 changed files with 7 additions and 50 deletions

View file

@ -169,8 +169,6 @@ cli_terminate(clicon_handle h)
clicon_rpc_close_session(h);
if ((yspec = clicon_dbspec_yang(h)) != NULL)
yspec_free(yspec);
if ((yspec = clicon_config_yang(h)) != NULL)
yspec_free(yspec);
if ((nsctx = clicon_nsctx_global_get(h)) != NULL)
cvec_free(nsctx);
if ((x = clicon_conf_xml(h)) != NULL)
@ -361,7 +359,6 @@ main(int argc, char **argv)
usage(h, argv[0]);
return -1;
}
clicon_config_yang_set(h, yspecfg);
/* Now rest of options */
opterr = 0;
optind = 1;