summaryrefslogtreecommitdiffstats
path: root/zebra/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/interface.c')
-rw-r--r--zebra/interface.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index 58a28c607..c4a952e1a 100644
--- a/zebra/interface.c
+++ b/zebra/interface.c
@@ -4804,11 +4804,11 @@ static int ag_iter_cb(const struct lyd_node *dnode, void *arg)
void cli_show_legacy_admin_group(struct vty *vty, const struct lyd_node *dnode,
bool show_defaults)
{
- if (!yang_dnode_exists(dnode, "./legacy-admin-group"))
+ if (!yang_dnode_exists(dnode, "legacy-admin-group"))
return;
vty_out(vty, " admin-group 0x%x\n",
- yang_dnode_get_uint32(dnode, "./legacy-admin-group"));
+ yang_dnode_get_uint32(dnode, "legacy-admin-group"));
}
void cli_show_affinity_mode(struct vty *vty, const struct lyd_node *dnode,
@@ -4825,11 +4825,11 @@ void cli_show_affinity_mode(struct vty *vty, const struct lyd_node *dnode,
void cli_show_affinity(struct vty *vty, const struct lyd_node *dnode,
bool show_defaults)
{
- if (!yang_dnode_exists(dnode, "./affinity"))
+ if (!yang_dnode_exists(dnode, "affinity"))
return;
vty_out(vty, " affinity");
- yang_dnode_iterate(ag_iter_cb, vty, dnode, "./affinity");
+ yang_dnode_iterate(ag_iter_cb, vty, dnode, "affinity");
vty_out(vty, "\n");
}