summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_vty.c
diff options
context:
space:
mode:
authorChris Hall (GMCH) <chris.hall@highwayman.com>2009-12-09 20:02:27 +0000
committerChris Hall (GMCH) <chris.hall@highwayman.com>2009-12-09 20:02:27 +0000
commit120e91359392aa18f257cd88e77d762c32eb8a4f (patch)
treee367f821165554a8dced5e8bcba8a9eedfc69778 /ospfd/ospf_vty.c
parentaa04a120d60b4001bb6224a7efd6d49fec7ec622 (diff)
parentcc2dd9280c4456586080d1cf4537d26c02fa9a36 (diff)
downloadquagga-120e91359392aa18f257cd88e77d762c32eb8a4f.tar.bz2
quagga-120e91359392aa18f257cd88e77d762c32eb8a4f.tar.xz
Merge remote branch 'quagga/master' of /git/quagga.euro-ix
Diffstat (limited to 'ospfd/ospf_vty.c')
-rw-r--r--ospfd/ospf_vty.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c
index e144c299..adc822a7 100644
--- a/ospfd/ospf_vty.c
+++ b/ospfd/ospf_vty.c
@@ -3511,7 +3511,7 @@ show_lsa_summary (struct vty *vty, struct ospf_lsa *lsa, int self)
return 0;
}
-const char *show_database_desc[] =
+static const char *show_database_desc[] =
{
"unknown",
"Router Link States",
@@ -3529,10 +3529,7 @@ const char *show_database_desc[] =
#endif /* HAVE_OPAQUE_LSA */
};
-#define SHOW_OSPF_COMMON_HEADER \
- "Link ID ADV Router Age Seq# CkSum"
-
-const char *show_database_header[] =
+static const char *show_database_header[] =
{
"",
"Link ID ADV Router Age Seq# CkSum Link count",
@@ -3550,16 +3547,6 @@ const char *show_database_header[] =
#endif /* HAVE_OPAQUE_LSA */
};
-const char *show_lsa_flags[] =
-{
- "Self-originated",
- "Checked",
- "Received",
- "Approved",
- "Discard",
- "Translated",
-};
-
static void
show_ip_ospf_database_header (struct vty *vty, struct ospf_lsa *lsa)
{