summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_dump.c7
-rw-r--r--ospfd/ospf_dump.h2
2 files changed, 0 insertions, 9 deletions
diff --git a/ospfd/ospf_dump.c b/ospfd/ospf_dump.c
index de51500b0a..b74b84e37d 100644
--- a/ospfd/ospf_dump.c
+++ b/ospfd/ospf_dump.c
@@ -133,13 +133,6 @@ const char *ospf_if_name_string(struct ospf_interface *oi)
return buf;
}
-/* Display only the nbr state.*/
-void ospf_nbr_state_message(struct ospf_neighbor *nbr, char *buf, size_t size)
-{
- snprintf(buf, size, "%s",
- lookup_msg(ospf_nsm_state_msg, nbr->state, NULL));
-}
-
int ospf_nbr_ism_state(struct ospf_neighbor *nbr)
{
int state;
diff --git a/ospfd/ospf_dump.h b/ospfd/ospf_dump.h
index 596d49256f..0f217971ee 100644
--- a/ospfd/ospf_dump.h
+++ b/ospfd/ospf_dump.h
@@ -140,8 +140,6 @@ extern const char *ospf_area_name_string(struct ospf_area *);
extern const char *ospf_area_desc_string(struct ospf_area *);
extern const char *ospf_if_name_string(struct ospf_interface *);
extern int ospf_nbr_ism_state(struct ospf_neighbor *nbr);
-extern void ospf_nbr_state_message(struct ospf_neighbor *nbr, char *buf,
- size_t size);
extern void ospf_nbr_ism_state_message(struct ospf_neighbor *nbr, char *buf,
size_t size);
extern const char *ospf_timer_dump(struct thread *, char *, size_t);