summaryrefslogtreecommitdiffstats
path: root/pathd/path_nb.c
diff options
context:
space:
mode:
Diffstat (limited to 'pathd/path_nb.c')
-rw-r--r--pathd/path_nb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pathd/path_nb.c b/pathd/path_nb.c
index 9e91957..e1c0cc3 100644
--- a/pathd/path_nb.c
+++ b/pathd/path_nb.c
@@ -313,8 +313,8 @@ int iter_objfun_cb(const struct lyd_node *dnode, void *arg)
pref = &of_arg->prefs[of_arg->free_slot++];
- pref->index = yang_dnode_get_uint32(dnode, "./index");
- pref->type = yang_dnode_get_enum(dnode, "./type");
+ pref->index = yang_dnode_get_uint32(dnode, "index");
+ pref->type = yang_dnode_get_enum(dnode, "type");
/* Simplistic insertion sort */
p = &of_arg->first;