summaryrefslogtreecommitdiffstats
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
commit1a14c4f73267791874bf713fc9df93f0714defd6 (patch)
tree2579d8b99ac35e1ccbbb42552b884a9668955937 /zebra/main.c
parent53f480a818e0bc7ca7dd7fd4c8fcacabad376fd8 (diff)
downloadquagga-1a14c4f73267791874bf713fc9df93f0714defd6.tar.bz2
quagga-1a14c4f73267791874bf713fc9df93f0714defd6.tar.xz
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); */