From 9a220cabbc28a4e54f814aa5d596696a15e6544d Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 4 May 2000 20:52:28 +0000 Subject: #ifdef out lots of debugging information. 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. --- proto/ospf/ospf.c | 8 -------- proto/rip/rip.c | 7 ------- 2 files changed, 15 deletions(-) (limited to 'proto') diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index 860714e..ef9c576 100644 --- a/proto/ospf/ospf.c +++ b/proto/ospf/ospf.c @@ -69,12 +69,6 @@ ospf_init(struct proto_config *c) return p; } -static void -ospf_preconfig(struct protocol *p, struct config *c) -{ - DBG( " OSPF: preconfig\n" ); -} - static void ospf_postconfig(struct proto_config *c) { @@ -87,7 +81,5 @@ struct protocol proto_ospf = { init: ospf_init, dump: ospf_dump, start: ospf_start, - preconfig: ospf_preconfig, postconfig: ospf_postconfig, }; - diff --git a/proto/rip/rip.c b/proto/rip/rip.c index 0a1bdbc..022d499 100644 --- a/proto/rip/rip.c +++ b/proto/rip/rip.c @@ -839,12 +839,6 @@ rip_init_config(struct rip_proto_config *c) 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) { @@ -862,7 +856,6 @@ struct protocol proto_rip = { name: "RIP", template: "rip%d", attr_class: EAP_RIP, - preconfig: rip_preconfig, get_route_info: rip_get_route_info, get_attr: rip_get_attr, -- cgit v1.2.3