summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;