Call ys_populate_feature from if_feature_check

In some cases, the feature won't be populated yet, and therefore, we
will consider this feature as disabled.

Fixes #429
This commit is contained in:
Shmuel Hazan 2023-04-30 17:19:40 +03:00
parent 8732d118dd
commit b13917b2ac
6 changed files with 15 additions and 5 deletions

View file

@ -297,5 +297,6 @@ int yang_init(clicon_handle h);
int yang_single_child_type(yang_stmt *ys, enum rfc_6020 subkeyw);
void *yang_action_cb_get(yang_stmt *ys);
int yang_action_cb_add(yang_stmt *ys, void *rc);
int ys_populate_feature(clicon_handle h, yang_stmt *ys);
#endif /* _CLIXON_YANG_H_ */