summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjardin <jardin>2005-10-01 00:08:54 +0000
committerjardin <jardin>2005-10-01 00:08:54 +0000
commit6638c1ab3d4c0043a49a3a67768cccf4a23648dc (patch)
tree8fd2f7cdf8f787b495109c36ecf87d411ddee860
parent2d74db55c463231e3542207bc3d940e2563e6b5b (diff)
2005-09-30 Vincent Jardin <vincent.jardin@6wind.com>
* ospf_dump.c, ospf_ia.c, ospf_spf.c, ospf_ase.c: remove unused DEBUG
-rw-r--r--ospfd/ChangeLog5
-rw-r--r--ospfd/ospf_ase.c2
-rw-r--r--ospfd/ospf_dump.c2
-rw-r--r--ospfd/ospf_ia.c2
-rw-r--r--ospfd/ospf_spf.c2
5 files changed, 7 insertions, 6 deletions
diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog
index be1e0f91..2e288a7d 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 09968e09..f4b285bb 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 7b410b1e..4ace02bd 100644
--- a/ospfd/ospf_dump.c
+++ b/ospfd/ospf_dump.c
@@ -866,8 +866,10 @@ DEFUN (no_debug_ospf_packet,
}
#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 29604c61..a701e8c9 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 206a2e7c..1aba5d97 100644
--- a/ospfd/ospf_spf.c
+++ b/ospfd/ospf_spf.c
@@ -46,8 +46,6 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
#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