summaryrefslogtreecommitdiff
path: root/zebra/main.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-06-12 14:33:05 +0000
committerhasso <hasso>2004-06-12 14:33:05 +0000
commitca7769881ffb700c86b606ead5f4177df3c0b2a1 (patch)
treeb3a199ce94246b34b10d8d20030d27d2f4c5197f /zebra/main.c
parent02ff83c52592427623db0d8367ca9b3395fa321f (diff)
OK, here it is - irdp support. But don't expect me to fix any bugs in it.
Diffstat (limited to 'zebra/main.c')
-rw-r--r--zebra/main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/zebra/main.c b/zebra/main.c
index efc95643..3384d7dd 100644
--- a/zebra/main.c
+++ b/zebra/main.c
@@ -36,6 +36,7 @@
#include "zebra/zserv.h"
#include "zebra/debug.h"
#include "zebra/rib.h"
+#include "zebra/irdp.h"
/* Zebra instance */
struct zebra_t zebrad =
@@ -151,6 +152,9 @@ sigint (void)
if (!retain_mode)
rib_close ();
+#ifdef HAVE_IRDP
+ irdp_finish();
+#endif
exit (0);
}
@@ -289,6 +293,9 @@ main (int argc, char **argv)
zebra_vty_init ();
access_list_init ();
rtadv_init ();
+#ifdef HAVE_IRDP
+ irdp_init();
+#endif
/* For debug purpose. */
/* SET_FLAG (zebra_debug_event, ZEBRA_DEBUG_EVENT); */