added module-revision Yang
This commit is contained in:
parent
e8983a4be5
commit
0bf838eb8c
4 changed files with 401 additions and 10 deletions
|
|
@ -716,7 +716,7 @@ yang_order(yang_stmt *y)
|
|||
ypp = yp->yn_parent; /* yang spec */
|
||||
for (i=0; i<ypp->yn_len; i++){ /* iterate through other modules */
|
||||
ym = ypp->yn_stmt[i];
|
||||
if (yp == ym)
|
||||
if (yp == (yang_node*)ym)
|
||||
break;
|
||||
tot += ym->ys_len;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue