diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-11-09 17:04:20 -0800 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-11-09 17:04:20 -0800 |
| commit | 30e129bd4083ff9fe743c1be8cc45da6d6232025 (patch) | |
| tree | ee4dae9c6c0f7f555bc69610e4dec1877f56b72c /ospfd/ospf_packet.c | |
| parent | 6f20b80d8810724818ffe02963652a7e1eda3f89 (diff) | |
| parent | a81bede2d5c93c3108fbdcf2ea07aafb1001c06a (diff) | |
Merge branch 'cmaster' of ssh://stash.cumulusnetworks.com:7999/quag/quagga into cmaster
Diffstat (limited to 'ospfd/ospf_packet.c')
| -rw-r--r-- | ospfd/ospf_packet.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c index 468810e8a3..8bf07783e1 100644 --- a/ospfd/ospf_packet.c +++ b/ospfd/ospf_packet.c @@ -1765,10 +1765,11 @@ ospf_ls_upd (struct ospf *ospf, struct ip *iph, struct ospf_header *ospfh, /* Check neighbor state. */ if (nbr->state < NSM_Exchange) { - zlog_warn ("Link State Update: " - "Neighbor[%s] state %s is less than Exchange", - inet_ntoa (ospfh->router_id), - LOOKUP(ospf_nsm_state_msg, nbr->state)); + if (IS_DEBUG_OSPF (nsm, NSM_EVENTS)) + zlog_debug ("Link State Update: " + "Neighbor[%s] state %s is less than Exchange", + inet_ntoa (ospfh->router_id), + LOOKUP(ospf_nsm_state_msg, nbr->state)); return; } @@ -2129,10 +2130,11 @@ ospf_ls_ack (struct ip *iph, struct ospf_header *ospfh, if (nbr->state < NSM_Exchange) { - zlog_warn ("Link State Acknowledgment: " - "Neighbor[%s] state %s is less than Exchange", - inet_ntoa (ospfh->router_id), - LOOKUP(ospf_nsm_state_msg, nbr->state)); + if (IS_DEBUG_OSPF (nsm, NSM_EVENTS)) + zlog_debug ("Link State Acknowledgment: " + "Neighbor[%s] state %s is less than Exchange", + inet_ntoa (ospfh->router_id), + LOOKUP(ospf_nsm_state_msg, nbr->state)); return; } |
