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)
This commit is contained in:
paul 2003-01-27 12:00:55 +00:00
parent 7cfb15fe15
commit 7d95c611f6

View File

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