diff options
author | Martin Mares <mj@ucw.cz> | 1998-05-26 23:36:17 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-05-26 23:36:17 +0200 |
commit | 5222c46ceb8035f2292c3a91f6ee85fbbed82c5e (patch) | |
tree | b20ce93d8402a37460ef8fce7ea20f4271317746 | |
parent | d804db0dabf944495071fe6b62a9d836f78997af (diff) | |
download | bird-5222c46ceb8035f2292c3a91f6ee85fbbed82c5e.tar bird-5222c46ceb8035f2292c3a91f6ee85fbbed82c5e.zip |
DBG now calls debug() instead of sending it to log().
-rw-r--r-- | TODO | 7 | ||||
-rw-r--r-- | lib/birdlib.h | 2 |
2 files changed, 3 insertions, 6 deletions
@@ -4,12 +4,10 @@ Core - config file: symbolic constants? - counters (according to SNMP MIB?) - generation of subnet mask ICMP's for v6? -- unaligned accesses? - neighbor cache: local broadcast address? - ipv4: recognize site scope addresses? - ifdef out some debugging code? - better memory allocators -- precedence of all packets (incl. TCP) - default preferences of protocols: prefer BGP over OSPF/RIP external routes? - all internal tables are in host order @@ -18,8 +16,9 @@ Core - alloca - adding of route: clear all bits not covered by masklen - switch: generate default route only if at least one BGP connection exists +- "interface kill" list -- route recalculation timing + flap dampening +- route recalculation timing + flap dampening (?) - reconfiguration without restart of all protocols? - change of interface address: ??? (down and up?) @@ -29,9 +28,7 @@ Core - interface is not required to exist - can specify a wildcard pattern or an interface list -- timers - one-shot and periodic, resolution 1 sec, randomized - re-configuration: restart of routing protocols (shutdown mode) -- route: originating AS - Check incoming packets and log errors!! diff --git a/lib/birdlib.h b/lib/birdlib.h index 842fce8..9696f9d 100644 --- a/lib/birdlib.h +++ b/lib/birdlib.h @@ -39,7 +39,7 @@ void debug(char *msg, ...); /* Printf to debug output */ /* Debugging */ #ifdef LOCAL_DEBUG -#define DBG(x, y...) log(L_DEBUG x, ##y) +#define DBG(x, y...) debug(x, ##y) #else #define DBG(x, y...) #endif |