]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Some changes in debugging.
authorOndrej Filip <feela@network.cz>
Mon, 8 May 2000 22:50:37 +0000 (22:50 +0000)
committerOndrej Filip <feela@network.cz>
Mon, 8 May 2000 22:50:37 +0000 (22:50 +0000)
proto/ospf/ospf.h
proto/ospf/packet.c

index f2736c61b4aea1586772ba563bb064954ff8c313..b1d14bd4db54f0f9da65bec0eee2207a67551aa8 100644 (file)
@@ -9,7 +9,6 @@
 #ifndef _BIRD_OSPF_H_
 #define _BIRD_OSPF_H_
 
-#define LOCAL_DEBUG
 
 #define SIPH 64                /* FIXME Size Of IP header */
 
@@ -28,6 +27,8 @@
 #include "conf/conf.h"
 #include "lib/string.h"
 
+#define LOCAL_DEBUG
+
 #define OSPF_PROTO 89
 #ifndef IPV6
 #define OSPF_VERSION 2
index b04fa9476cadc09a7b7117e956aea098633d65ee..37156d3bf74eae16109089c16d1abe7cbc25bfd3 100644 (file)
@@ -127,7 +127,7 @@ ospf_rx_hook(sock *sk, int size)
   for(i=0;i<ntohs(ps->length);i+=4)
     DBG("%s: received %u,%u,%u,%u\n",p->name, pu8[i+0], pu8[i+1], pu8[i+2],
                    pu8[i+3]);
-  debug("%s: received size: %u\n",p->name,size);
+  DBG("%s: received size: %u\n",p->name,size);
 
   switch(ps->type)
   {