commit | 686d8fcaf47185e8537a0b5ce8ed83123da371ad | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Mon Nov 22 10:03:23 2021 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Mon Nov 22 10:03:23 2021 +0100 |
tree | fbaeca16f9a6ea07a330642036860183dd532a6e | |
parent | 5974087ed5a41225d7e299389cb2e9eb06d1febd [diff] [blame] |
yanglint FEATURE error on non-applied features
diff --git a/tools/lint/common.c b/tools/lint/common.c index 5c5894e..650aa78 100644 --- a/tools/lint/common.c +++ b/tools/lint/common.c
@@ -114,6 +114,7 @@ if (!strcmp(module, sf->mod_name)) { /* matched module - explicitly set features */ *features = (const char **)sf->features; + sf->applied = 1; return; } }