summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
authorpaul <paul>2003-01-27 12:00:55 +0000
committerpaul <paul>2003-01-27 12:00:55 +0000
commit7d95c611f615aad92ac2e5cce787bad737f4e6bd (patch)
tree3395403396d610de90877579af71413d2ae5a592 /ospfd
parent7cfb15fe15a419489cb82192d19344efc7871274 (diff)
Revert comment out of:
if (ospf_debug_packet & OSPF_DEBUG_RECV) which was causing unconditional ospf_ip_header_dump (ibuf). (introduced with kevin millers patch)
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_packet.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index 5913803c..4a3b5e11 100644
--- a/ospfd/ospf_packet.c
+++ b/ospfd/ospf_packet.c
@@ -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))
{