From ca7769881ffb700c86b606ead5f4177df3c0b2a1 Mon Sep 17 00:00:00 2001 From: hasso Date: Sat, 12 Jun 2004 14:33:05 +0000 Subject: OK, here it is - irdp support. But don't expect me to fix any bugs in it. --- zebra/main.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'zebra/main.c') 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); */ -- cgit v1.2.1