summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-03-12 22:01:38 +0100
committerMartin Mares <mj@ucw.cz>2000-03-12 22:01:38 +0100
commit6b9fa320806ce8a734d865ebcb8052ba0e50c527 (patch)
tree29c22c36dd94eb3960fc6066ceac3a12bd1d3d46 /filter
parent6a9f28b0b9254ba21c36126d6f10388815840001 (diff)
downloadbird-6b9fa320806ce8a734d865ebcb8052ba0e50c527.tar
bird-6b9fa320806ce8a734d865ebcb8052ba0e50c527.zip
Great cleanup of debug messages. LOCAL_DEBUG turned off in most modules,
several debug() calls converted to DBG().
Diffstat (limited to 'filter')
-rw-r--r--filter/filter.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/filter/filter.c b/filter/filter.c
index 8fd0f78..3bb21e6 100644
--- a/filter/filter.c
+++ b/filter/filter.c
@@ -9,6 +9,8 @@
*
*/
+#undef LOCAL_DEBUG
+
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
@@ -525,7 +527,7 @@ f_run(struct filter *filter, struct rte **rte, struct ea_list **tmp_attrs, struc
{
struct f_inst *inst;
struct f_val res;
- debug( "Running filter `%s'...", filter->name );
+ DBG( "Running filter `%s'...", filter->name );
f_tmp_attrs = tmp_attrs;
f_rte = rte;
@@ -535,7 +537,7 @@ f_run(struct filter *filter, struct rte **rte, struct ea_list **tmp_attrs, struc
res = interpret(inst);
if (res.type != T_RETURN)
return F_ERROR;
- debug( "done (%d)\n", res.val.i );
+ DBG( "done (%d)\n", res.val.i );
return res.val.i;
}