summaryrefslogtreecommitdiff
path: root/ospfd/ospf_packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd/ospf_packet.c')
-rw-r--r--ospfd/ospf_packet.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index c4cc07b0..66155215 100644
--- a/ospfd/ospf_packet.c
+++ b/ospfd/ospf_packet.c
@@ -2265,23 +2265,23 @@ ospf_read (struct thread *thread)
}
/* Show debug receiving packet. */
- /* if (IS_DEBUG_OSPF_PACKET (ospfh->type - 1, RECV))
- {*/
+ if (IS_DEBUG_OSPF_PACKET (ospfh->type - 1, RECV))
+ {
if (IS_DEBUG_OSPF_PACKET (ospfh->type - 1, DETAIL))
- {
- zlog_info ("-----------------------------------------------------");
- ospf_packet_dump (ibuf);
- }
+ {
+ zlog_info ("-----------------------------------------------------");
+ ospf_packet_dump (ibuf);
+ }
zlog_info ("%s received from [%s] via [%s]",
- ospf_packet_type_str[ospfh->type],
- inet_ntoa (ospfh->router_id), IF_NAME (oi));
+ ospf_packet_type_str[ospfh->type],
+ inet_ntoa (ospfh->router_id), IF_NAME (oi));
zlog_info (" src [%s],", inet_ntoa (iph->ip_src));
zlog_info (" dst [%s]", inet_ntoa (iph->ip_dst));
if (IS_DEBUG_OSPF_PACKET (ospfh->type - 1, DETAIL))
zlog_info ("-----------------------------------------------------");
- /* }*/
+ }
/* Some header verification. */
ret = ospf_verify_header (ibuf, oi, iph, ospfh);