summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd/ospf_vty.c')
-rw-r--r--ospfd/ospf_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c
index 5f9fa2cb..11f12c5c 100644
--- a/ospfd/ospf_vty.c
+++ b/ospfd/ospf_vty.c
@@ -50,7 +50,7 @@
#include "ospfd/ospf_dump.h"
-const static char *ospf_network_type_str[] =
+static const char *ospf_network_type_str[] =
{
"Null",
"POINTOPOINT",
@@ -3093,7 +3093,7 @@ DEFUN (show_ip_ospf_neighbor_all,
"Neighbor list\n"
"include down status neighbor\n")
{
- struct ospf *ospf = vty->index;
+ struct ospf *ospf = ospf_lookup ();
struct listnode *node;
struct ospf_interface *oi;