[ospfd] rename graceful to deferred, fix a tiny compile warning.
2005-11-26 Paul Jakma <paul.jakma@sun.com>
* (general) s/graceful/deferred/ in all files, the former term
is confusing wrt OSPF Graceful-Restart.
* ospfd.c: (ospf_deferred_shutdown_check) dont return
a function which returns void. SOS complains about this.
(ospf_finish)
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c
index 385eb8d..cc66d11 100644
--- a/ospfd/ospf_vty.c
+++ b/ospfd/ospf_vty.c
@@ -2606,9 +2606,9 @@
VTY_NEWLINE);
/* Graceful shutdown */
- if (ospf->t_graceful_shutdown)
- vty_out (vty, " Graceful shutdown in progress, %s remaining%s",
- ospf_timer_dump (ospf->t_graceful_shutdown,
+ if (ospf->t_deferred_shutdown)
+ vty_out (vty, " Deferred shutdown in progress, %s remaining%s",
+ ospf_timer_dump (ospf->t_deferred_shutdown,
timebuf, sizeof (timebuf)), VTY_NEWLINE);
/* Show capability. */
vty_out (vty, " Supports only single TOS (TOS0) routes%s", VTY_NEWLINE);