2005-09-30 Vincent Jardin <vincent.jardin@6wind.com>
* ospf_dump.c, ospf_ia.c, ospf_spf.c, ospf_ase.c:
remove unused DEBUG
diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog
index be1e0f9..2e288a7 100644
--- a/ospfd/ChangeLog
+++ b/ospfd/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-30 Vincent Jardin <vincent.jardin@6wind.com>
+
+ * ospf_dump.c, ospf_ia.c, ospf_spf.c, ospf_ase.c:
+ remove unused DEBUG
+
2005-09-29 Alain Ritoux <alain.ritoux@6wind.com>
* ospf_ism.c: generate SNMP traps on Interface state change
diff --git a/ospfd/ospf_ase.c b/ospfd/ospf_ase.c
index 09968e0..f4b285b 100644
--- a/ospfd/ospf_ase.c
+++ b/ospfd/ospf_ase.c
@@ -46,8 +46,6 @@
#include "ospfd/ospf_zebra.h"
#include "ospfd/ospf_dump.h"
-#define DEBUG
-
struct ospf_route *
ospf_find_asbr_route (struct ospf *ospf,
struct route_table *rtrs, struct prefix_ipv4 *asbr)
diff --git a/ospfd/ospf_dump.c b/ospfd/ospf_dump.c
index 7b410b1..4ace02b 100644
--- a/ospfd/ospf_dump.c
+++ b/ospfd/ospf_dump.c
@@ -866,8 +866,10 @@
}
#ifdef DEBUG
+ /*
for (i = 0; i < 5; i++)
zlog_debug ("flag[%d] = %d", i, ospf_debug_packet[i]);
+ */
#endif /* DEBUG */
return CMD_SUCCESS;
diff --git a/ospfd/ospf_ia.c b/ospfd/ospf_ia.c
index 29604c6..a701e8c 100644
--- a/ospfd/ospf_ia.c
+++ b/ospfd/ospf_ia.c
@@ -46,8 +46,6 @@
#include "ospfd/ospf_ia.h"
#include "ospfd/ospf_dump.h"
-#define DEBUG
-
static struct ospf_route *
ospf_find_abr_route (struct route_table *rtrs,
struct prefix_ipv4 *abr,
diff --git a/ospfd/ospf_spf.c b/ospfd/ospf_spf.c
index 206a2e7..1aba5d9 100644
--- a/ospfd/ospf_spf.c
+++ b/ospfd/ospf_spf.c
@@ -46,8 +46,6 @@
#include "ospfd/ospf_abr.h"
#include "ospfd/ospf_dump.h"
-#define DEBUG
-
/* Heap related functions, for the managment of the candidates, to
* be used with pqueue. */
static int