Changed function name: choice_case_get() -> yang_choice_case_get()
Rewrote yang_choice()
This commit is contained in:
parent
9e6557aad1
commit
465a5999fe
5 changed files with 24 additions and 25 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue