The long resource/routing table dump printed upon startup is gone now
and if you wish to see it, just send bird SIGUSR1 or use the `debug'
commands.
* operation (okay too).
*/
-#define LOCAL_DEBUG
+#undef LOCAL_DEBUG
#include "nest/bird.h"
#include "lib/lists.h"
}
DBG("Interface change notification (%x) for %s\n", c, i->name);
+#ifdef LOCAL_DEBUG
if_dump(i);
+#endif
if (c & IF_CHANGE_UP)
neigh_if_up(i);
return p;
}
-static void
-ospf_preconfig(struct protocol *p, struct config *c)
-{
- DBG( " OSPF: preconfig\n" );
-}
-
static void
ospf_postconfig(struct proto_config *c)
{
init: ospf_init,
dump: ospf_dump,
start: ospf_start,
- preconfig: ospf_preconfig,
postconfig: ospf_postconfig,
};
-
c->authtype = AT_NONE;
}
-static void
-rip_preconfig(struct protocol *x, struct config *c)
-{
- DBG( "RIP: preconfig\n" );
-}
-
static int
rip_get_attr(eattr *a, byte *buf)
{
name: "RIP",
template: "rip%d",
attr_class: EAP_RIP,
- preconfig: rip_preconfig,
get_route_info: rip_get_route_info,
get_attr: rip_get_attr,
#include <sys/uio.h>
#include <errno.h>
-#define LOCAL_DEBUG
+#undef LOCAL_DEBUG
#include "nest/bird.h"
#include "nest/route.h"
* Can be freely distributed and used under the terms of the GNU GPL.
*/
-#define LOCAL_DEBUG
+#undef LOCAL_DEBUG
#include <stdio.h>
#include <stdlib.h>
cli_init_unix();
- ev_run_list(&global_event_list);
- async_dump();
+#ifdef LOCAL_DEBUG
+ async_dump_flag = 1;
+#endif
DBG("Entering I/O loop.\n");