summaryrefslogtreecommitdiff
path: root/lib/nexthop_group.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nexthop_group.c')
-rw-r--r--lib/nexthop_group.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/nexthop_group.c b/lib/nexthop_group.c
index a4c823e37a..7c7914a723 100644
--- a/lib/nexthop_group.c
+++ b/lib/nexthop_group.c
@@ -934,9 +934,9 @@ DEFPY(ecmp_nexthops, ecmp_nexthops_cmd,
}
static struct cmd_node nexthop_group_node = {
- NH_GROUP_NODE,
- "%s(config-nh-group)# ",
- 1
+ .node = NH_GROUP_NODE,
+ .prompt = "%s(config-nh-group)# ",
+ .vtysh = 1,
};
void nexthop_group_write_nexthop(struct vty *vty, struct nexthop *nh)