summaryrefslogtreecommitdiffstats
path: root/ospf6d
diff options
context:
space:
mode:
Diffstat (limited to 'ospf6d')
-rw-r--r--ospf6d/ospf6_interface.c4
-rw-r--r--ospf6d/ospf6_top.c4
-rw-r--r--ospf6d/ospf6d.c4
3 files changed, 9 insertions, 3 deletions
diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c
index 93265afc4..a0dd396cc 100644
--- a/ospf6d/ospf6_interface.c
+++ b/ospf6d/ospf6_interface.c
@@ -1944,7 +1944,9 @@ static int config_write_ospf6_interface(struct vty *vty)
}
static struct cmd_node interface_node = {
- INTERFACE_NODE, "%s(config-if)# ", 1 /* VTYSH */
+ .node = INTERFACE_NODE,
+ .prompt = "%s(config-if)# ",
+ .vtysh = 1,
};
static int ospf6_ifp_create(struct interface *ifp)
diff --git a/ospf6d/ospf6_top.c b/ospf6d/ospf6_top.c
index dc10fa52c..2f646ce44 100644
--- a/ospf6d/ospf6_top.c
+++ b/ospf6d/ospf6_top.c
@@ -1114,7 +1114,9 @@ static int config_write_ospf6(struct vty *vty)
/* OSPF6 node structure. */
static struct cmd_node ospf6_node = {
- OSPF6_NODE, "%s(config-ospf6)# ", 1 /* VTYSH */
+ .node = OSPF6_NODE,
+ .prompt = "%s(config-ospf6)# ",
+ .vtysh = 1,
};
/* Install ospf related commands. */
diff --git a/ospf6d/ospf6d.c b/ospf6d/ospf6d.c
index db61fe087..1beadca79 100644
--- a/ospf6d/ospf6d.c
+++ b/ospf6d/ospf6d.c
@@ -70,7 +70,9 @@ struct route_node *route_prev(struct route_node *node)
}
static struct cmd_node debug_node = {
- DEBUG_NODE, "", 1 /* VTYSH */
+ .node = DEBUG_NODE,
+ .prompt = "",
+ .vtysh = 1,
};
static int config_write_ospf6_debug(struct vty *vty)