/* 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;
}
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;
}