]> git.puffer.fish Git - matthieu/frr.git/commit
lib: don't count on scheme key nodes being first children
authorChristian Hopps <chopps@labn.net>
Tue, 2 Jan 2024 11:34:34 +0000 (11:34 +0000)
committerChristian Hopps <chopps@labn.net>
Tue, 2 Jan 2024 11:34:34 +0000 (11:34 +0000)
commit412eec1bed3e7cf60f702f62489a0a7847b91334
tree9b0f31dd5afd3fd88ef4368e01bc641024acf34d
parentbfe52f892949037030c67870ebf9ecae28015f3a
lib: don't count on scheme key nodes being first children

Heard back from libyang folks that this is not something they consider part of
the API and/or are going to guarantee. So we cannot count on it. Expect keys at
any location on the child sibling list.

Signed-off-by: Christian Hopps <chopps@labn.net>
lib/northbound_oper.c