diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2024-02-05 07:34:38 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-05 07:34:38 -0500 |
| commit | cac925f005d090339dcde74e8770e25dcf29d5c9 (patch) | |
| tree | 10af78727db662a75ae938e89642a690d549f4c8 /lib/yang.c | |
| parent | 71ea80bc473936adac845602051f8f93f8afd0ed (diff) | |
| parent | 633f01911877f0cd3eab6a2f4b562fc4ab026505 (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.c | 3 |
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; |
