summaryrefslogtreecommitdiff
path: root/lib/yang.c
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2024-02-05 07:34:38 -0500
committerGitHub <noreply@github.com>2024-02-05 07:34:38 -0500
commitcac925f005d090339dcde74e8770e25dcf29d5c9 (patch)
tree10af78727db662a75ae938e89642a690d549f4c8 /lib/yang.c
parent71ea80bc473936adac845602051f8f93f8afd0ed (diff)
parent633f01911877f0cd3eab6a2f4b562fc4ab026505 (diff)
Merge pull request #15291 from idryzhov/mgmtd-yang-embed
lib, mgmtd: fix missing embedded modules
Diffstat (limited to 'lib/yang.c')
-rw-r--r--lib/yang.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/yang.c b/lib/yang.c
index 2b360376d3..adf2ba2ab0 100644
--- a/lib/yang.c
+++ b/lib/yang.c
@@ -40,7 +40,8 @@ static LY_ERR yang_module_imp_clb(const char *mod_name, const char *mod_rev,
struct yang_module_embed *e;
if (!strcmp(mod_name, "ietf-inet-types") ||
- !strcmp(mod_name, "ietf-yang-types"))
+ !strcmp(mod_name, "ietf-yang-types") ||
+ !strcmp(mod_name, "ietf-yang-metadata"))
/* libyang has these built in, don't try finding them here */
return LY_ENOTFOUND;