Changed function name: choice_case_get() -> yang_choice_case_get()

Rewrote yang_choice()
This commit is contained in:
Olof hagsand 2024-01-17 13:06:56 +01:00
parent 9e6557aad1
commit 465a5999fe
5 changed files with 24 additions and 25 deletions

View file

@ -187,7 +187,7 @@ xml_default_choice(yang_stmt *yc,
continue;
/* Check if this child is a child of yc */
yca = ych = NULL;
if (choice_case_get(y, &yca, &ych) == 1 &&
if (yang_choice_case_get(y, &yca, &ych) == 1 &&
ych == yc){
x0 = x;
break;