diff options
author | paul <paul> | 2003-04-08 08:51:58 +0000 |
---|---|---|
committer | paul <paul> | 2003-04-08 08:51:58 +0000 |
commit | 1aa7b3993bec298370b8b7f8983d0bb0898d4476 (patch) | |
tree | 8b81217217195d6a92cdb0d53acc9fd49ff51a78 /ospfd | |
parent | ead687e159b17c0d1cadf8098e101ad1c976b143 (diff) |
Undo commenting of a debug conditional. make it conditional again.
Diffstat (limited to 'ospfd')
-rw-r--r-- | ospfd/ospf_packet.c | 18 |
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); |