diff options
author | Martin Mares <mj@ucw.cz> | 2000-03-12 21:01:38 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-03-12 21:01:38 +0000 |
commit | 6b9fa320806ce8a734d865ebcb8052ba0e50c527 (patch) | |
tree | 29c22c36dd94eb3960fc6066ceac3a12bd1d3d46 /nest/rt-dev.c | |
parent | 6a9f28b0b9254ba21c36126d6f10388815840001 (diff) |
Great cleanup of debug messages. LOCAL_DEBUG turned off in most modules,
several debug() calls converted to DBG().
Diffstat (limited to 'nest/rt-dev.c')
-rw-r--r-- | nest/rt-dev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nest/rt-dev.c b/nest/rt-dev.c index edadeba5..d42ed157 100644 --- a/nest/rt-dev.c +++ b/nest/rt-dev.c @@ -6,7 +6,7 @@ * Can be freely distributed and used under the terms of the GNU GPL. */ -#define LOCAL_DEBUG +#undef LOCAL_DEBUG #include <string.h> @@ -35,7 +35,7 @@ dev_ifa_notify(struct proto *p, unsigned c, struct ifa *ad) n = net_find(p->table, ad->prefix, ad->pxlen); if (!n) { - debug("dev_if_notify: device shutdown: prefix not found\n"); + DBG("dev_if_notify: device shutdown: prefix not found\n"); return; } rte_update(p->table, n, p, NULL); @@ -46,7 +46,7 @@ dev_ifa_notify(struct proto *p, unsigned c, struct ifa *ad) net *n; rte *e; - debug("dev_if_notify: %s:%I going up\n", ad->iface->name, ad->ip); + DBG("dev_if_notify: %s:%I going up\n", ad->iface->name, ad->ip); bzero(&A, sizeof(A)); A.proto = p; A.source = RTS_DEVICE; |