summaryrefslogtreecommitdiff
path: root/lib/vrf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vrf.c')
-rw-r--r--lib/vrf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vrf.c b/lib/vrf.c
index b279e8b7bf..808edd4ae4 100644
--- a/lib/vrf.c
+++ b/lib/vrf.c
@@ -914,7 +914,7 @@ static int lib_vrf_create(struct nb_cb_create_args *args)
const char *vrfname;
struct vrf *vrfp;
- vrfname = yang_dnode_get_string(args->dnode, "./name");
+ vrfname = yang_dnode_get_string(args->dnode, "name");
if (args->event != NB_EV_APPLY)
return NB_OK;