summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_route.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospf6d/ospf6_route.c')
-rw-r--r--ospf6d/ospf6_route.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/ospf6d/ospf6_route.c b/ospf6d/ospf6_route.c
index 5f630828e7..8bfd3b7124 100644
--- a/ospf6d/ospf6_route.c
+++ b/ospf6d/ospf6_route.c
@@ -1120,11 +1120,6 @@ void ospf6_route_show(struct vty *vty, struct ospf6_route *route,
json_object *json_array_next_hops = NULL;
json_object *json_next_hop;
- if (om6->ospf6 == NULL) {
- vty_out(vty, "OSPFv3 is not running\n");
- return;
- }
-
monotime(&now);
timersub(&now, &route->changed, &res);
timerstring(&res, duration, sizeof(duration));
@@ -1208,11 +1203,6 @@ void ospf6_route_show_detail(struct vty *vty, struct ospf6_route *route,
json_object *json_array_next_hops = NULL;
json_object *json_next_hop;
- if (om6->ospf6 == NULL) {
- vty_out(vty, "OSPFv3 is not running\n");
- return;
- }
-
monotime(&now);
/* destination */