]> git.puffer.fish Git - matthieu/frr.git/commitdiff
Revert comment out of:
authorpaul <paul>
Mon, 27 Jan 2003 12:00:55 +0000 (12:00 +0000)
committerpaul <paul>
Mon, 27 Jan 2003 12:00:55 +0000 (12:00 +0000)
 if (ospf_debug_packet & OSPF_DEBUG_RECV)
which was causing unconditional ospf_ip_header_dump (ibuf).
(introduced with kevin millers patch)

ospfd/ospf_packet.c

index 5913803c7db2a3eb2fc10c8ee3b169c03d8294d7..4a3b5e11deffab3ff77393a9cf1904e8f681d6b2 100644 (file)
@@ -2220,10 +2220,9 @@ ospf_read (struct thread *thread)
   top->t_read = thread_add_read (master, ospf_read, top, top->fd);
 
   /* IP Header dump. */
-  /*
-    if (ospf_debug_packet & OSPF_DEBUG_RECV)*/
-    ospf_ip_header_dump (ibuf); /*
-  */
+    if (ospf_debug_packet & OSPF_DEBUG_RECV)
+           ospf_ip_header_dump (ibuf);
+
   /* Self-originated packet should be discarded silently. */
   if (ospf_if_lookup_by_local_addr (NULL, iph->ip_src))
     {